From 17dbc7e055b86c0e55064dbc69fa84b7d948d1ae Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 11 Dec 2013 18:33:54 -0800 Subject: [PATCH] Minor codecheck fixes --- examples/sshd.py | 2 +- mininet/test/test_walkthrough.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/sshd.py b/examples/sshd.py index cef1d87..27166cb 100755 --- a/examples/sshd.py +++ b/examples/sshd.py @@ -55,7 +55,7 @@ def sshd( network, cmd='/usr/sbin/sshd', opts='-D', if not switch: switch = network[ 's1' ] # switch to use if not routes: - routes = [ '10.0.0.0/24' ] + routes = [ '10.0.0.0/24' ] connectToRootNS( network, switch, ip, routes ) for host in network.hosts: host.cmd( cmd + ' ' + opts + '&' ) diff --git a/mininet/test/test_walkthrough.py b/mininet/test/test_walkthrough.py index 6fa1ce0..2c2d6b0 100755 --- a/mininet/test/test_walkthrough.py +++ b/mininet/test/test_walkthrough.py @@ -9,7 +9,6 @@ TODO: missing xterm test import unittest import pexpect import os -from time import sleep from mininet.util import quietRun class testWalkthrough( unittest.TestCase ):