mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
pep8
This commit is contained in:
parent
4b210e7aab
commit
fbde403f6f
@ -135,7 +135,7 @@ class SshShell(object):
|
||||
|
||||
def _execute_and_wait_for_prompt(self, command, timeout=None, as_root=False, strip_colors=True, log=True):
|
||||
timeout = self.timeout if timeout is None else timeout
|
||||
self.conn.prompt(0.1) # clear an existing prompt if there is one.
|
||||
self.conn.prompt(0.1) # clear an existing prompt if there is one.
|
||||
if as_root:
|
||||
command = "sudo -- sh -c '{}'".format(escape_single_quotes(command))
|
||||
if log:
|
||||
|
Loading…
x
Reference in New Issue
Block a user