aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/ouroboros.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-28 18:14:32 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-28 18:14:32 +0200
commit92d2849f76c3395f9a51ab79a5726e1df5348ba8 (patch)
treea6edcfde2679f0377c6d34e16f292ffd5a2391a7 /rumba/prototypes/ouroboros.py
parent28556357ef43a549d18bf9a38d3c81b16f0ccbe6 (diff)
downloadrumba-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.py8
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")