mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
misc/get-version.py: get the version string from the new location, _version.py
This commit is contained in:
parent
a12ef1ae82
commit
a45c4492b5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user