From a23c6a2871ae2dd26ae7783f60bea7bc29500452 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 18 Mar 2015 15:10:20 -0700 Subject: [PATCH] Fix undefined constructors in customClass() --- mininet/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/util.py b/mininet/util.py index 6755c6d..91fcfd0 100644 --- a/mininet/util.py +++ b/mininet/util.py @@ -533,7 +533,7 @@ def customClass( classes, argStr ): if not cname: raise Exception( "error: %s is unknown - please specify one of %s" % - ( cname, constructors.keys() ) ) + ( cname, classes.keys() ) ) if not args and not kwargs: return cls