Removed debugging code

This commit is contained in:
Martijn Braam 2017-06-01 19:15:49 +02:00
parent 2a39d9c091
commit c15bf48f77
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def _execute(loop, args, cmd, log_message, log, return_stdout, check=True):
transport.close()
return_code = transport.get_returncode()
if return_code != 0 and False:
if return_code != 0:
if check:
raise RuntimeError("Command failed: \n" + protocol.error)
args.logfd.write('Program exited with: {}\n'.format(transport.get_returncode()))