summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo E. Castro <pecastro@wormholenet.com>2024-11-15 01:01:15 +0100
committerPaulo E. Castro <pecastro@wormholenet.com>2024-12-14 01:14:54 +0100
commit2b2ce7871579252074eff7b6072890196b1e4f2c (patch)
tree03ca91d22670b537f936f25160ed203c9b62e862
parentdoc: Fix typo. (diff)
downloadceph-2b2ce7871579252074eff7b6072890196b1e4f2c.tar.xz
ceph-2b2ce7871579252074eff7b6072890196b1e4f2c.zip
tools/cephfs: fix flake8 f-string formatting for py3.12
Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
-rwxr-xr-xsrc/tools/cephfs/top/cephfs-top2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cephfs/top/cephfs-top b/src/tools/cephfs/top/cephfs-top
index 9ecc47fc2d5..45900f9a025 100755
--- a/src/tools/cephfs/top/cephfs-top
+++ b/src/tools/cephfs/top/cephfs-top
@@ -148,7 +148,7 @@ def wrap(s, sl):
"""return a '+' suffixed wrapped string"""
if len(s) < sl:
return s
- return f'{s[0:sl-1]}+'
+ return f'{s[0:sl - 1]}+'
class FSTopBase(object):