mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-26 18:31:10 +00:00
ack-sync: Drop ubuntu-main-sponsors.
This commit is contained in:
parent
d054dcf796
commit
f53448ab4b
8
ack-sync
8
ack-sync
@ -140,14 +140,6 @@ def get_email_from_file(name):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def unsubscribe_sponsors(launchpad, bug):
|
def unsubscribe_sponsors(launchpad, bug):
|
||||||
ums = launchpad.people['ubuntu-main-sponsors']
|
|
||||||
try:
|
|
||||||
bug.unsubscribe(person=ums)
|
|
||||||
print "ubuntu-main-sponsors unsubscribed (for backward compatibility)"
|
|
||||||
except lazr.restfulclient.errors.HTTPError, http_error:
|
|
||||||
print "failed to unsubscribe ubuntu-main-sponsors: " + \
|
|
||||||
http_error.content
|
|
||||||
|
|
||||||
us = launchpad.people['ubuntu-sponsors']
|
us = launchpad.people['ubuntu-sponsors']
|
||||||
bug.unsubscribe(person=us)
|
bug.unsubscribe(person=us)
|
||||||
print "ubuntu-sponsors unsubscribed"
|
print "ubuntu-sponsors unsubscribed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user