aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/testbeds')
-rw-r--r--rumba/testbeds/emulab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py
index 3ba625d..075dcea 100644
--- a/rumba/testbeds/emulab.py
+++ b/rumba/testbeds/emulab.py
@@ -237,7 +237,7 @@ class Testbed(mod.Testbed):
topomap = ssh.execute_command(self, experiment.nodes[0].ssh_config, cmd)
# Almost as ugly as yo momma
index = topomap.rfind("# lans")
- topo_array = topomap[:index].split('\\n')[1:-1]
+ topo_array = topomap[:index].split('\n')[1:-1]
# Array contains things like 'r2b1,link7:10.1.6.3 link6:10.1.5.3'
for item in topo_array:
item_array = re.split(',? ?', item)