496
498
lp = launchpad.lp_login()
497
499
distribution = lp.distributions['ubuntu']
498
500
sponsoring_items = dict()
500
502
sponsoring_items[team] = get_bugs(lp, distribution, team, options.verbose)
503
get_branches(lp, distribution, team, options.verbose)
505
branches = get_branches(lp, distribution, team, options.verbose)
504
508
all_sponsoring_items = list(set.union(*sponsoring_items.values()))
505
509
all_sponsoring_items.sort(key=operator.methodcaller("get_time_in_queue"))
506
510
packages = launchpad.get_packagesets(lp, distribution)