From 593fc365d0719c79b2001ed075844d0188d05d2d Mon Sep 17 00:00:00 2001 From: Brian O'Connor <bocon@onlab.us> Date: Mon, 17 Nov 2014 17:46:24 -0800 Subject: [PATCH] fixing --custom in mn (there was one two many selfs) --- bin/mn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mn b/bin/mn index 6ad1a023..5cfef820 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 ], -- GitLab