Commits

Jakub Wilk committed 1985c32

setup: fix the version reading code.

  • Participants
  • Parent commits e89c57d

Comments (0)

Files changed (1)

 
 os.putenv('TAR_OPTIONS', '--owner root --group root --mode a+rX')
 
+f = open('doc/changelog')
 try:
-    f = open('doc/changelog')
     version = f.readline().split()[1].strip('()')
 finally:
     f.close()