Fixed undefined variable 'custom' in setup().

This commit is contained in:
Bob Lantz
2010-02-03 15:06:41 -08:00
parent 8f99421e02
commit 799242c617
+2 -1
View File
@@ -143,7 +143,8 @@ class MininetRunner(object):
if self.options.custom:
if not os.path.isfile(self.options.custom):
raise Exception('could not find custom file: %s' % custom)
raise Exception('could not find custom file: %s' %
self.options.custom)
def begin(self):
'''Create and run mininet.'''