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:
parent
22739a691a
commit
96b45e1593
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue