debian/bin/abiupdate.py: Catch errors to retrieve package with config.

svn path=/dists/sid/linux-2.6/; revision=18824
This commit is contained in:
Bastian Blank 2012-03-12 22:09:20 +00:00
parent 22739a691a
commit 96b45e1593
1 changed files with 7 additions and 1 deletions

View File

@ -71,7 +71,13 @@ class Main(object):
self.dir = tempfile.mkdtemp(prefix='abiupdate')
try:
self.log("Retrieve config\n")
config = self.get_config()
try:
config = self.get_config()
except urllib2.HTTPError as e:
self.log("Failed to retrieve %s: %s\n" % (e.filename, e))
sys.exit(1)
if self.override_arch:
arches = [self.override_arch]
else: