summaryrefslogtreecommitdiffstats
path: root/qa/tasks/cephfs/test_volumes.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/tasks/cephfs/test_volumes.py')
-rw-r--r--qa/tasks/cephfs/test_volumes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py
index a0fece8d5e4..19ea2418c4f 100644
--- a/qa/tasks/cephfs/test_volumes.py
+++ b/qa/tasks/cephfs/test_volumes.py
@@ -291,7 +291,7 @@ class TestVolumes(CephFSTestCase):
nsize = usedsize/2
try:
self._fs_cmd("subvolume", "resize", self.volname, subvolname, str(nsize))
- except CommandFailedError as ce:
+ except CommandFailedError:
raise RuntimeError("expected the 'fs subvolume resize' command to succeed")
# verify the quota