mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 09:31:08 +00:00
requestsync:
- post_bug: Catch IOError when setting bug importance (LP: #190061) - Added myself to list of authors
This commit is contained in:
parent
6eba68a20d
commit
fd5479e548
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -13,6 +13,7 @@ ubuntu-dev-tools (0.31) hardy; urgency=low
|
|||||||
Launchpad and mail code path.
|
Launchpad and mail code path.
|
||||||
- Do not fallback to submitting by email, if posting to Launchpad failed.
|
- Do not fallback to submitting by email, if posting to Launchpad failed.
|
||||||
This hasn't been requested and therefore should not get done.
|
This hasn't been requested and therefore should not get done.
|
||||||
|
- post_bug: Catch IOError when setting bug importance (LP: #190061)
|
||||||
|
|
||||||
-- Daniel Hahler <ubuntu@thequod.de> Wed, 16 Apr 2008 01:57:41 +0200
|
-- Daniel Hahler <ubuntu@thequod.de> Wed, 16 Apr 2008 01:57:41 +0200
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
# Martin Pitt <martin.pitt@ubuntu.com>
|
# Martin Pitt <martin.pitt@ubuntu.com>
|
||||||
# Steve Kowalik <stevenk@ubuntu.com>
|
# Steve Kowalik <stevenk@ubuntu.com>
|
||||||
# Michael Bienia <geser@ubuntu.com> (python-launchpad-bugs support)
|
# Michael Bienia <geser@ubuntu.com> (python-launchpad-bugs support)
|
||||||
|
# Daniel Hahler (http://daniel.hahler.de/)
|
||||||
#
|
#
|
||||||
# License: GPLv2, see /usr/share/common-licenses/GPL
|
# License: GPLv2, see /usr/share/common-licenses/GPL
|
||||||
|
|
||||||
@ -272,7 +273,10 @@ def post_bug(source_package, subscribe, status, bugtitle, bugtext):
|
|||||||
Bug.authentication = launchpad_cookiefile
|
Bug.authentication = launchpad_cookiefile
|
||||||
|
|
||||||
bug = Bug.New(product = product, summary = bugtitle, description = bugtext)
|
bug = Bug.New(product = product, summary = bugtitle, description = bugtext)
|
||||||
bug.importance = 'Wishlist'
|
try:
|
||||||
|
bug.importance = 'Wishlist'
|
||||||
|
except IOError, s:
|
||||||
|
print "Warning: setting importance failed: %s" % s
|
||||||
bug.status = status
|
bug.status = status
|
||||||
bug.subscriptions.add(subscribe)
|
bug.subscriptions.add(subscribe)
|
||||||
bug.commit()
|
bug.commit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user