Move code out of try...else block since there is no finally anmore
@@ -260,7 +260,6 @@ def communicate(cmd, code=None, output_stream=STREAM_STDOUT, env=None, cwd=None,
return ''
- else:
if logger.isEnabledFor(logging.INFO):
logger.info(make_nice_log_message(
'Running ...', cmd, uses_stdin, cwd, view, None))
