aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rumba/storyboard.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rumba/storyboard.py b/rumba/storyboard.py
index 5ff7a98..2f88f16 100644
--- a/rumba/storyboard.py
+++ b/rumba/storyboard.py
@@ -79,8 +79,8 @@ def _execute_command(node,
node.name,
e)
if callback is None:
- def callback(x):
- pass
+ def callback(_):
+ pass # as a default, do nothing
POOL.apply_async(
node.execute_command,
@@ -302,7 +302,7 @@ class ClientProcess(_SBEntity):
self.ap_id, self.node.name
)
- def callback():
+ def callback(_):
logger.debug(
'Client %s on node %s has terminated.',
self.ap_id, self.node.name