Skip to content

Commit 2b2ce78

Browse files
committed
tools/cephfs: fix flake8 f-string formatting for py3.12
Signed-off-by: Paulo E. Castro <[email protected]>
1 parent 5a886ee commit 2b2ce78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/cephfs/top/cephfs-top

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def wrap(s, sl):
148148
"""return a '+' suffixed wrapped string"""
149149
if len(s) < sl:
150150
return s
151-
return f'{s[0:sl-1]}+'
151+
return f'{s[0:sl - 1]}+'
152152

153153

154154
class FSTopBase(object):

0 commit comments

Comments
 (0)