Skip to content

Commit

Permalink
Fixed undefined variable 'custom' in setup().
Browse files Browse the repository at this point in the history
  • Loading branch information
lantz committed Feb 3, 2010
1 parent 8f99421 commit 799242c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/mn_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.'''
Expand Down

0 comments on commit 799242c

Please sign in to comment.