summaryrefslogtreecommitdiff
path: root/morphlib/remoteartifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/remoteartifactcache.py')
-rw-r--r--morphlib/remoteartifactcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/remoteartifactcache.py b/morphlib/remoteartifactcache.py
index c0c0f723..e50c1159 100644
--- a/morphlib/remoteartifactcache.py
+++ b/morphlib/remoteartifactcache.py
@@ -95,7 +95,7 @@ class RemoteArtifactCache(object):
try:
urllib2.urlopen(request)
return True
- except urllib2.HTTPError:
+ except (urllib2.HTTPError, urllib2.URLError):
return False
def _get_file(self, filename): # pragma: no cover