diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2018-06-05 17:19:17 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2018-06-05 17:19:17 +0200 |
commit | 02be7d064fcf121fc455fab5685b97ebec40d733 (patch) | |
tree | c009c5e0dcd0683f5d33c05a813727d242271b9b | |
parent | 63cc59cc42b22788801d20c1a6d9ca68cea8dc37 (diff) | |
download | rumba-02be7d064fcf121fc455fab5685b97ebec40d733.tar.gz rumba-02be7d064fcf121fc455fab5685b97ebec40d733.zip |
storyboard: fix callback without args in ClientProcess.stop()
-rw-r--r-- | rumba/storyboard.py | 6 |
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 |