Changeset 7b76744 in mainline
- Timestamp:
- 2010-03-18T17:34:39Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3ad309d
- Parents:
- 89c09ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config.py
r89c09ae r7b76744 229 229 230 230 sys.stderr.write("Fetching current revision identifier ... ") 231 version = subprocess.Popen(['bzr', 'version-info', '--custom', '--template={clean}:{revno}:{revision_id}'], stdout = subprocess.PIPE).communicate()[0].split(':') 232 sys.stderr.write("OK\n") 231 232 try: 233 version = subprocess.Popen(['bzr', 'version-info', '--custom', '--template={clean}:{revno}:{revision_id}'], stdout = subprocess.PIPE).communicate()[0].split(':') 234 sys.stderr.write("ok\n") 235 except: 236 version = [1, "unknown", "unknown"] 237 sys.stderr.write("failed\n") 233 238 234 239 if (len(version) == 3):
Note:
See TracChangeset
for help on using the changeset viewer.