From: Brian Warner Date: Thu, 16 Aug 2007 22:43:43 +0000 (-0700) Subject: misc/get-version.py: get the version string from the new location, _version.py X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/nxhtml.html?a=commitdiff_plain;h=a45c4492b5a394c2fbcb49351e37bad7778ec51d;p=tahoe-lafs%2Ftahoe-lafs.git misc/get-version.py: get the version string from the new location, _version.py --- diff --git a/misc/get-version.py b/misc/get-version.py index 9281a9df..39c81c82 100644 --- a/misc/get-version.py +++ b/misc/get-version.py @@ -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)