Skip to content

Commit

Permalink
Merge remote-tracking branch 'clebergnu/python3_async_reserved'
Browse files Browse the repository at this point in the history
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Feb 11, 2019
2 parents 77894ff + 9338525 commit 4efe25d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions virttest/remote_commander/remote_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def __init__(self, baseCmd):
self.stdin_pipe = None
self.stdout_pipe = None
self.stderr_pipe = None
self.async = False
self.asynchronous = False
self.nohup = False
self.manage = False
self.msg = None
Expand Down Expand Up @@ -317,7 +317,7 @@ def parse_func_name(self, func_name, commander):
self.manage = True
func_name = func_name[1:]
if func_name[0] == "async": # start command in new process.
self.async = True
self.asynchronous = True
func_name = func_name[1:]
if func_name[0] == "nohup": # start command in new daemon process.
self.nohup = True
Expand Down Expand Up @@ -351,7 +351,7 @@ def __call__(self, commander):
**self.basecmd.kargs)
self.basecmd._finished = True
self.finish(commander)
elif self.async: # start command in new process
elif self.asynchronous: # start command in new process
self.basecmd.results = self.__call_async__(commander)
self.basecmd._async = True
elif self.nohup: # start command in new daemon process
Expand Down

0 comments on commit 4efe25d

Please sign in to comment.