fixing --custom in mn (there was one two many selfs)
This commit is contained in:
@@ -189,7 +189,7 @@ class MininetRunner( object ):
|
|||||||
opts.add_option( '--clean', '-c', action='store_true',
|
opts.add_option( '--clean', '-c', action='store_true',
|
||||||
default=False, help='clean and exit' )
|
default=False, help='clean and exit' )
|
||||||
opts.add_option( '--custom', action='callback',
|
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)' )
|
type='string', help='read custom classes or params from .py file(s)' )
|
||||||
opts.add_option( '--test', type='choice', choices=TESTS,
|
opts.add_option( '--test', type='choice', choices=TESTS,
|
||||||
default=TESTS[ 0 ],
|
default=TESTS[ 0 ],
|
||||||
|
|||||||
Reference in New Issue
Block a user