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