Submitter | phabricator |
---|---|
Date | July 19, 2018, 12:28 p.m. |
Message ID | <7604d106cce0018fed30804d7332d77c@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/32914/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/contrib/genosxversion.py b/contrib/genosxversion.py --- a/contrib/genosxversion.py +++ b/contrib/genosxversion.py @@ -117,9 +117,9 @@ return with open(opts.versionfile) as f: for l in f: - if l.startswith('version = '): + if l.startswith('version = b'): # version number is entire line minus the quotes - ver = l[len('version = ') + 1:-2] + ver = l[len('version = b') + 1:-2] break if opts.paranoid: print(paranoidver(ver))