mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
* requestsync: Exit when connecting to Launchpad fails.
This commit is contained in:
parent
884e3a8575
commit
570a068118
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
ubuntu-dev-tools (0.42ubuntu1) intrepid; urgency=low
|
||||||
|
|
||||||
|
* requestsync: Exit when connecting to Launchpad fails.
|
||||||
|
|
||||||
|
-- Jonathan Patrick Davies <jpds@ubuntu.com> Sun, 24 Aug 2008 21:43:30 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.41) intrepid; urgency=low
|
ubuntu-dev-tools (0.41) intrepid; urgency=low
|
||||||
|
|
||||||
[ Loic Minier ]
|
[ Loic Minier ]
|
||||||
|
@ -67,6 +67,7 @@ def checkNeedsSponsorship(component):
|
|||||||
try: teamLPPage = urlopener.open('https://launchpad.net/~%s' % team).read()
|
try: teamLPPage = urlopener.open('https://launchpad.net/~%s' % team).read()
|
||||||
except urllib2.HTTPError:
|
except urllib2.HTTPError:
|
||||||
print >> sys.stderr, "Unable to connect to Launchpad."
|
print >> sys.stderr, "Unable to connect to Launchpad."
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Check if they are a member of the team.
|
# Check if they are a member of the team.
|
||||||
if "You are an indirect member of this team:" in teamLPPage or \
|
if "You are an indirect member of this team:" in teamLPPage or \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user