diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-28 18:14:32 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-28 18:14:32 +0200 |
commit | 92d2849f76c3395f9a51ab79a5726e1df5348ba8 (patch) | |
tree | a6edcfde2679f0377c6d34e16f292ffd5a2391a7 /rumba/prototypes/ouroboros.py | |
parent | 28556357ef43a549d18bf9a38d3c81b16f0ccbe6 (diff) | |
download | rumba-92d2849f76c3395f9a51ab79a5726e1df5348ba8.tar.gz rumba-92d2849f76c3395f9a51ab79a5726e1df5348ba8.zip |
Fix pylint warnings and errors
This fixes several warnings and errors as reported by pylint.
Diffstat (limited to 'rumba/prototypes/ouroboros.py')
-rw-r--r-- | rumba/prototypes/ouroboros.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py index 4359f19..57358cf 100644 --- a/rumba/prototypes/ouroboros.py +++ b/rumba/prototypes/ouroboros.py @@ -23,7 +23,7 @@ import rumba.model as mod # An experiment over the Ouroboros implementation class Experiment(mod.Experiment): - def __init__(self, testbed, nodes = None): + def __init__(self, testbed, nodes=None): mod.Experiment.__init__(self, testbed, nodes) def setup_ouroboros(self): @@ -36,7 +36,8 @@ class Experiment(mod.Experiment): cmds.append("sudo nohup irmd > /dev/null &") for node in self.nodes: - ssh.execute_commands(self.testbed, node.full_name, cmds, time_out = None) + ssh.execute_commands(self.testbed, node.full_name, + cmds, time_out=None) return def bind_names(self): @@ -45,7 +46,8 @@ class Experiment(mod.Experiment): for name, ap in node.bindings.items(): cmds.append("irm b ap " + ap + " n " + name) - ssh.execute_commands(self.testbed, node.full_name, cmds, time_out = None) + ssh.execute_commands(self.testbed, node.full_name, + cmds, time_out=None) def run(self): print("[Ouroboros experiment] start") |