]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
tools/cephfs: fix flake8 f-string formatting for py3.12
authorPaulo E. Castro <pecastro@wormholenet.com>
Fri, 15 Nov 2024 00:01:15 +0000 (00:01 +0000)
committerPaulo E. Castro <pecastro@wormholenet.com>
Sat, 14 Dec 2024 00:14:54 +0000 (00:14 +0000)
Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
src/tools/cephfs/top/cephfs-top

index 9ecc47fc2d5f35f2731b58aacd520e842bee87c9..45900f9a025b09769a4287b7bfc970bd96885120 100755 (executable)
@@ -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):