contrib/genosxversion.py
changeset 38734 25880ddf9a86
parent 33594 283a7da602ae
child 42815 197e7326b8b8
--- a/contrib/genosxversion.py	Tue Jul 10 17:01:06 2018 +0530
+++ b/contrib/genosxversion.py	Wed Jul 18 18:36:39 2018 -0700
@@ -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))