projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c02cd4
)
11994: Fix wrong class in "except ENOENT" handler.
author
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 6 Nov 2017 18:16:02 +0000
(13:16 -0500)
committer
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 6 Nov 2017 18:16:02 +0000
(13:16 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/fuse/arvados_fuse/unmount.py
patch
|
blob
|
history
diff --git
a/services/fuse/arvados_fuse/unmount.py
b/services/fuse/arvados_fuse/unmount.py
index 09a5f6254e6b7ac4a20fe416c4cab16aec5b6b47..442213d301fd16c625f50800b3a3a707f17a1522 100644
(file)
--- a/
services/fuse/arvados_fuse/unmount.py
+++ b/
services/fuse/arvados_fuse/unmount.py
@@
-101,7
+101,7
@@
def unmount(path, subtype=None, timeout=10, recursive=False):
with open('/sys/fs/fuse/connections/{}/abort'.format(m.minor),
'w') as f:
f.write("1")
- except
OS
Error as e:
+ except
IO
Error as e:
if e.errno != errno.ENOENT:
raise