initial changes to use f strings
This commit is contained in:
parent
da946f1f56
commit
c9326b6a97
8 changed files with 70 additions and 72 deletions
|
@ -51,7 +51,7 @@ class VnodeClient(object):
|
|||
pass
|
||||
|
||||
def create_cmd(self, args):
|
||||
return "%s -c %s -- %s" % (VCMD_BIN, self.ctrlchnlname, args)
|
||||
return f"{VCMD_BIN} -c {self.ctrlchnlname} -- {args}"
|
||||
|
||||
def check_cmd(self, args, wait=True):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue