Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ff4c4033
Unverified
Commit
ff4c4033
authored
Sep 03, 2018
by
Poul-Henning Kamp
Committed by
GitHub
Sep 03, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2759 from bmwiedemann/python3
Fix vmodtool with python3
parents
d6b3076b
ddaa6e5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vmodtool.py
lib/libvcc/vmodtool.py
+1
-1
No files found.
lib/libvcc/vmodtool.py
View file @
ff4c4033
...
...
@@ -859,7 +859,7 @@ class vcc(object):
def
parse
(
self
):
global
inputline
a
=
"
\n
"
+
open
(
self
.
inputfile
,
"r"
)
.
read
()
self
.
file_id
=
hashlib
.
sha256
(
a
)
.
hexdigest
()
self
.
file_id
=
hashlib
.
sha256
(
a
.
encode
(
'utf-8'
)
)
.
hexdigest
()
s
=
a
.
split
(
"
\n
$"
)
self
.
copyright
=
s
.
pop
(
0
)
.
strip
()
while
s
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment