From 799242c617ebab0a797dd7c9fd67b9214bc0aece Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Wed, 3 Feb 2010 15:06:41 -0800 Subject: [PATCH] Fixed undefined variable 'custom' in setup(). --- bin/mn_run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mn_run.py b/bin/mn_run.py index 1d542d9b..14d1b597 100755 --- a/bin/mn_run.py +++ b/bin/mn_run.py @@ -143,7 +143,8 @@ def setup(self): 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.''' -- GitLab