mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
Consistently replace def run() by async def run()
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
8a74e030dc
commit
a85f0929c6
4 changed files with 9 additions and 9 deletions
|
|
@ -354,7 +354,7 @@ class Cmd(jwutils.Cmd):
|
|||
#slog(NOTICE, "replacements =", self.replacements)
|
||||
|
||||
# overriding
|
||||
def run(self, args):
|
||||
async def run(self, args):
|
||||
self._init(args)
|
||||
files = []
|
||||
if args.name_regex is not None:
|
||||
|
|
@ -461,7 +461,7 @@ class CmdCppReplaceSymbols(Cmd):
|
|||
return p
|
||||
|
||||
# overriding
|
||||
def run(self, args):
|
||||
async def run(self, args):
|
||||
if args.name_regex is not None:
|
||||
return super(CmdCppReplaceSymbols, self).run(args)
|
||||
self._init(args)
|
||||
|
|
@ -547,7 +547,7 @@ class CmdCppAddNamespace(Cmd):
|
|||
return p
|
||||
|
||||
# overriding
|
||||
def run(self, args):
|
||||
async def run(self, args):
|
||||
if args.name_regex is not None:
|
||||
return super(CmdCppAddNamespace, self).run(args)
|
||||
self._init(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue