Skip to content

Instantly share code, notes, and snippets.

@marcoceppi
Created August 7, 2015 16:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcoceppi/9e30a0971b301dd8acb9 to your computer and use it in GitHub Desktop.
Save marcoceppi/9e30a0971b301dd8acb9 to your computer and use it in GitHub Desktop.
Find all bugs opened against a distribution
from launchpadlib.launchpad import Launchpad
lp = Launchpad.login_anonymously('mc', 'production')
ppl = lp.people['ibmcharmers']
charm = lp.distributions['charms']
tasks = []
for p in ppl.members:
tasks = tasks + [t for t in charm.searchTasks(bug_reporter=p)]
for t in tasks:
print("%s %s" % (t.web_link, t.title))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment