gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r983105 - /gump/trunk/python/gump/core/loader/loader.py
Date Fri, 06 Aug 2010 19:39:18 GMT
Author: bodewig
Date: Fri Aug  6 19:39:18 2010
New Revision: 983105

URL: http://svn.apache.org/viewvc?rev=983105&view=rev
Log:
bug found while playing with vmgump2 - if you forget to provide a name to the workspace you
get an UnboundLocalError

Modified:
    gump/trunk/python/gump/core/loader/loader.py

Modified: gump/trunk/python/gump/core/loader/loader.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/loader/loader.py?rev=983105&r1=983104&r2=983105&view=diff
==============================================================================
--- gump/trunk/python/gump/core/loader/loader.py (original)
+++ gump/trunk/python/gump/core/loader/loader.py Fri Aug  6 19:39:18 2010
@@ -251,7 +251,7 @@ class ModelLoader:
                 else:
                     # Just construct
                     if name: object=cls(name,dom)
-                    else:    object.cls(dom)
+                    else:    object=cls('',dom)
                     rootObject=object
                
                 if object:



Mime
View raw message