1
2
3
4
5
6
7
8
9
10
11
12
13
14 | #! /usr/bin/python
from __future__ import print_function
import sys
from launchpadlib.launchpad import Launchpad
launchpad = Launchpad.login_with("lp-subscribed-bugs", "production")
person = launchpad.people[sys.argv[1]]
for task in person.searchTasks():
bug = task.bug
print(bug.id, task.status, task.target.display_name)
print('\t%s' % bug.title)
|