projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12ef1a
)
misc/get-version.py: get the version string from the new location, _version.py
author
Brian Warner
<warner@allmydata.com>
Thu, 16 Aug 2007 22:43:43 +0000
(15:43 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 16 Aug 2007 22:43:43 +0000
(15:43 -0700)
misc/get-version.py
patch
|
blob
|
history
diff --git
a/misc/get-version.py
b/misc/get-version.py
index 9281a9dfd491b64fbcfb2669685735cb77d7a259..39c81c82e11a93d2dd29dc9bb1b40848c2bf0489 100644
(file)
--- 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)