From: Tom Clegg Date: Mon, 6 Nov 2017 18:16:02 +0000 (-0500) Subject: 11994: Fix wrong class in "except ENOENT" handler. X-Git-Tag: 1.1.1~13^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/4a8561a37ef5878aefc8c5d8c47898a3879a0fda 11994: Fix wrong class in "except ENOENT" handler. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/services/fuse/arvados_fuse/unmount.py b/services/fuse/arvados_fuse/unmount.py index 09a5f6254e..442213d301 100644 --- 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 OSError as e: + except IOError as e: if e.errno != errno.ENOENT: raise