diff --git a/bin/mn b/bin/mn index 6ad1a023231f8647301e9f1a975193d3972fd48c..5cfef8207515f18de895750f828805721440c428 100755 --- a/bin/mn +++ b/bin/mn @@ -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 ],