Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import os, sys
- from launchpadlib.launchpad import Launchpad
- cachedir = os.path.expanduser("~/.launchpadlib/cache/")
- launchpad = Launchpad.login_anonymously('find_branches',
- 'production',
- cachedir)
- try:
- project = launchpad.projects[sys.argv[1]]
- for b in project.getBranches():
- if b.lifecycle_status not in ["Abandoned", "Merged"]:
- print b.bzr_identity
- except KeyError:
- print "Project unknown... nUsage: " + sys.argv[0] + " lp_project_name"
- lp:deluge
- lp:~vcs-imports/deluge/trunk
- lp:~mvoncken/deluge/ajax-template-dev
- lp:~deluge-team/deluge/master
- lp:~shaohao/deluge/0.9
- lp:~damoxc/deluge/master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement