Merge branch '11642-null-job-log' refs #11642
[arvados.git] / sdk / python / arvados / cache.py
index f59d92f5d9953366544456376cfe46967a0ef170..0c5061bb1acbd562c408015a82c30e7181239405 100644 (file)
@@ -40,7 +40,7 @@ class SafeHTTPCache(object):
         try:
             with open(filename, 'rb') as f:
                 return f.read()
-        except IOError as OSError:
+        except (IOError, OSError):
             return None
 
     def set(self, url, content):