Changeset 2587 for trunk/packages/invirt-dev
- Timestamp:
- Dec 5, 2009, 5:08:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/python/invirt/builder.py
r2577 r2587 32 32 def pocketToGit(pocket): 33 33 """Map a pocket in the configuration to a git branch.""" 34 return config.git.pockets[pocket].get('git', pocket)34 return getattr(getattr(config.git.pockets, pocket), 'git', pocket) 35 35 36 36 37 37 def pocketToApt(pocket): 38 38 """Map a pocket in the configuration to an apt repo pocket.""" 39 return config.git.pockets[pocket].get('apt', pocket)39 return getattr(getattr(config.git.pockets, pocket), 'apt', pocket) 40 40 41 41
Note: See TracChangeset
for help on using the changeset viewer.