misc/get-version.py: get the version string from the new location, _version.py

This commit is contained in:
Brian Warner 2007-08-16 15:43:43 -07:00
parent a12ef1ae82
commit a45c4492b5

View 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)