Changeset 3042 for trunk/packages
- Timestamp:
- Jul 6, 2010, 12:28:20 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/python/invirt/builder.py
r3041 r3042 7 7 8 8 import os 9 import subprocess 9 10 10 11 from debian_bundle import changelog 11 from debian_bundle import deb82212 12 13 13 import invirt.common as c … … 125 125 126 126 b = pocketToGit(p) 127 current_commit = c.captureOutput(['git', 'rev-parse', b], 128 cwd=package_repo).strip() 127 try: 128 current_commit = c.captureOutput(['git', 'rev-parse', b], 129 cwd=package_repo).strip() 130 except subprocess.CalledProcessError: 131 # Guess we haven't created this pocket yet 132 continue 133 129 134 current_version = getVersion(package, b) 130 135
Note: See TracChangeset
for help on using the changeset viewer.