From 570a06811852eda4c607e49f520d5667f4a30127 Mon Sep 17 00:00:00 2001 From: Jonathan Patrick Davies Date: Sun, 24 Aug 2008 21:46:53 +0100 Subject: [PATCH] * requestsync: Exit when connecting to Launchpad fails. --- debian/changelog | 6 ++++++ requestsync | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4433ae8..8476876 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ubuntu-dev-tools (0.42ubuntu1) intrepid; urgency=low + + * requestsync: Exit when connecting to Launchpad fails. + + -- Jonathan Patrick Davies Sun, 24 Aug 2008 21:43:30 +0100 + ubuntu-dev-tools (0.41) intrepid; urgency=low [ Loic Minier ] diff --git a/requestsync b/requestsync index e72f9e2..2df7093 100755 --- a/requestsync +++ b/requestsync @@ -67,6 +67,7 @@ def checkNeedsSponsorship(component): try: teamLPPage = urlopener.open('https://launchpad.net/~%s' % team).read() except urllib2.HTTPError: print >> sys.stderr, "Unable to connect to Launchpad." + sys.exit(1) # Check if they are a member of the team. if "You are an indirect member of this team:" in teamLPPage or \