[SCM] hydrogen-drumkits/master: catch IOErrors during download
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Sep 24 08:58:28 UTC 2015
The following commit has been merged in the master branch:
commit 6cc2c3fd46c25ff346b45d36fb1544fe9bbee983
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Thu Sep 24 10:29:08 2015 +0200
catch IOErrors during download
diff --git a/debian/get-orig-source.py b/debian/get-orig-source.py
index e96a8b4..3478bad 100755
--- a/debian/get-orig-source.py
+++ b/debian/get-orig-source.py
@@ -202,7 +202,10 @@ def download(url, outputfile=None):
makedir(outdir)
outputfile=os.path.join(outdir, outfile)
- urllib.urlretrieve(url, outputfile)
+ try:
+ urllib.urlretrieve(url, outputfile)
+ except IOError:
+ return None
return outputfile
def tarup(tarname, path, strippath):
--
hydrogen-drumkits packaging
More information about the pkg-multimedia-commits
mailing list