mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
* requestsync: Improve wording.
This commit is contained in:
parent
e34088a986
commit
aea1d639e8
@ -91,12 +91,13 @@ def checkExistingReports(package):
|
|||||||
# Connect to the bug list.
|
# Connect to the bug list.
|
||||||
bugList = Connector.ConnectBugList()
|
bugList = Connector.ConnectBugList()
|
||||||
|
|
||||||
# Fetch the package bug list from Launchpad.
|
# Fetch the package's bug list from Launchpad.
|
||||||
pkgBugList = bugList("https://bugs.launchpad.net/ubuntu/+source/%s" % package)
|
pkgBugList = bugList("https://bugs.launchpad.net/ubuntu/+source/%s" % package)
|
||||||
|
|
||||||
if len(pkgBugList) == 0:
|
if len(pkgBugList) == 0:
|
||||||
return # No bugs found.
|
return # No bugs found.
|
||||||
|
|
||||||
|
# Search bug list for other sync requests.
|
||||||
matchingBugs = [bug for bug in pkgBugList if "Please sync %s" %
|
matchingBugs = [bug for bug in pkgBugList if "Please sync %s" %
|
||||||
package in bug.summary]
|
package in bug.summary]
|
||||||
|
|
||||||
@ -109,8 +110,8 @@ def checkExistingReports(package):
|
|||||||
print " *", bug.summary
|
print " *", bug.summary
|
||||||
print " -", bug.url
|
print " -", bug.url
|
||||||
|
|
||||||
print "Please check out the above URLs to verify this before filing a " \
|
print "Please check the above URLs to verify this before filing a " \
|
||||||
"duplicate report."
|
"possible duplicate report."
|
||||||
print "Press Ctrl-C to stop filing the bug report now, otherwise " \
|
print "Press Ctrl-C to stop filing the bug report now, otherwise " \
|
||||||
"please press enter."
|
"please press enter."
|
||||||
raw_input_exit_on_ctrlc()
|
raw_input_exit_on_ctrlc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user