Remove pointless callback argument.
@@ -181,7 +181,7 @@ def format_exception(e):
return '{0}{1}'.format(e.__class__.__name__, e.args)
-def log_host_command_error(host, e, timeout=0, callback=None):
+def log_host_command_error(host, e, timeout=0):
if isinstance(e, timeout_error):
logger.error('{0}{1}'.format(
host.print_prefix,
@@ -198,9 +198,6 @@ def log_host_command_error(host, e, timeout=0, callback=None):
),
))
- if callback:
- callback()
-
def make_command(
command,
