summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-05-24 12:46:15 +0200
committerSage Weil <sage@inktank.com>2013-06-14 14:11:00 -0700
commit43855e3788cc90900f1b3424c4e4e2c28e8f351e (patch)
tree9054c9dd5b76cafd27813594493414bf20b9227e
parent53927f94f3dcf7c57b73b66159d924557d92506e (diff)
downloadceph-43855e3788cc90900f1b3424c4e4e2c28e8f351e.tar.gz
ceph-disk: remove unnecessary semicolons
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> (cherry picked from commit 9785478a2aae7bf5234fbfe443603ba22b5a50d2)
-rwxr-xr-xsrc/ceph-disk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ceph-disk b/src/ceph-disk
index 147fb01c087..26324514665 100755
--- a/src/ceph-disk
+++ b/src/ceph-disk
@@ -1896,7 +1896,7 @@ def is_suppressed(path):
def set_suppress(path):
disk = os.path.realpath(path)
if not os.path.exists(disk):
- raise Error('does not exist', path);
+ raise Error('does not exist', path)
if not stat.S_ISBLK(os.lstat(path).st_mode):
raise Error('not a block device', path)
base = disk[5:]
@@ -1908,7 +1908,7 @@ def set_suppress(path):
def unset_suppress(path):
disk = os.path.realpath(path)
if not os.path.exists(disk):
- raise Error('does not exist', path);
+ raise Error('does not exist', path)
if not stat.S_ISBLK(os.lstat(path).st_mode):
raise Error('not a block device', path)
assert disk.startswith('/dev/')