Skip to content
Snippets Groups Projects
Commit 593fc365 authored by Brian O'Connor's avatar Brian O'Connor
Browse files

fixing --custom in mn (there was one two many selfs)

parent 1edf3515
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ class MininetRunner( object ):
opts.add_option( '--clean', '-c', action='store_true',
default=False, help='clean and exit' )
opts.add_option( '--custom', action='callback',
callback=partial( self.custom, self=self ),
callback=self.custom,
type='string', help='read custom classes or params from .py file(s)' )
opts.add_option( '--test', type='choice', choices=TESTS,
default=TESTS[ 0 ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment