projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19215-installer' refs #19215
[arvados.git]
/
sdk
/
python
/
arvados
/
cache.py
diff --git
a/sdk/python/arvados/cache.py
b/sdk/python/arvados/cache.py
index f59d92f5d9953366544456376cfe46967a0ef170..85f2b89ea2b7368a2fb509120228538b9e9eb109 100644
(file)
--- a/
sdk/python/arvados/cache.py
+++ b/
sdk/python/arvados/cache.py
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
from builtins import object
import errno
import hashlib
from builtins import object
import errno
import hashlib
@@
-40,7
+44,7
@@
class SafeHTTPCache(object):
try:
with open(filename, 'rb') as f:
return f.read()
try:
with open(filename, 'rb') as f:
return f.read()
- except
IOError as OSError
:
+ except
(IOError, OSError)
:
return None
def set(self, url, content):
return None
def set(self, url, content):