mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
requestbackport: In python3, Entry isn't hashable
This commit is contained in:
parent
301569e809
commit
8bdf4f839a
@ -102,7 +102,12 @@ def check_existing(package, destinations):
|
|||||||
Logger.normal("There are existing bug reports that look similar to your "
|
Logger.normal("There are existing bug reports that look similar to your "
|
||||||
"request. Please check before continuing:")
|
"request. Please check before continuing:")
|
||||||
|
|
||||||
for bug in sorted(set(bug_task.bug for bug_task in bugs)):
|
by_id = {}
|
||||||
|
for bug_task in bugs:
|
||||||
|
bug = bug_task.bug
|
||||||
|
by_id[bug.id] = bug
|
||||||
|
|
||||||
|
for id_, bug in sorted(by_id.items()):
|
||||||
Logger.normal(" * LP: #%-7i: %s %s", bug.id, bug.title, bug.web_link)
|
Logger.normal(" * LP: #%-7i: %s %s", bug.id, bug.title, bug.web_link)
|
||||||
|
|
||||||
confirmation_prompt()
|
confirmation_prompt()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user