]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: fix undefined variable
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 24 May 2013 10:33:16 +0000 (12:33 +0200)
committerSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 21:10:38 +0000 (14:10 -0700)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 9429ff90a06368fc98d146e065a7b9d1b68e9822)

src/ceph-disk

index aeb6fbff41847a9838318f6343767967be8f6777..147fb01c0873b45fb8a1a6dd12f951f5878d27f1 100755 (executable)
@@ -1921,7 +1921,7 @@ def unset_suppress(path):
     try:
         os.unlink(fn)
         LOG.info('unset suppress flag on %s', base)
-    except e:
+    except OSError as e:
         raise Error('failed to unsuppress', e)