Added command line debug for exec_with_retry()
- When debug level > 2 prints a line we can copy & paste
This commit is contained in:
parent
f9a2aac01b
commit
ad173a3c07
|
|
@ -164,6 +164,8 @@ def extract_errors(text):
|
|||
|
||||
def exec_with_retry(cmd):
|
||||
logger.debug('Executing: '+str(cmd))
|
||||
if GS.debug_level > 2:
|
||||
logger.debug('Command line: '+' '.join(cmd))
|
||||
retry = 2
|
||||
while retry:
|
||||
result = run(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True)
|
||||
|
|
|
|||
Loading…
Reference in New Issue