Fix undefined constructors in customClass()

This commit is contained in:
Bob Lantz
2015-03-18 15:10:20 -07:00
parent f6f6d9282b
commit a23c6a2871
+1 -1
View File
@@ -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