]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
misc/get-version.py: get the version string from the new location, _version.py
authorBrian Warner <warner@allmydata.com>
Thu, 16 Aug 2007 22:43:43 +0000 (15:43 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 16 Aug 2007 22:43:43 +0000 (15:43 -0700)
misc/get-version.py

index 9281a9dfd491b64fbcfb2669685735cb77d7a259..39c81c82e11a93d2dd29dc9bb1b40848c2bf0489 100644 (file)
@@ -19,7 +19,7 @@ the version available in the code image when you do:
 import os.path, re
 
 def get_version():
-    VERSIONFILE = "src/allmydata/version.py"
+    VERSIONFILE = "src/allmydata/_version.py"
     verstr = "unknown"
     if os.path.exists(VERSIONFILE):
         VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M)