gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r158599 - gump/trunk/python/gump/util/domutils.py
Date Tue, 22 Mar 2005 12:00:17 GMT
Author: ajack
Date: Tue Mar 22 04:00:17 2005
New Revision: 158599

URL: http://svn.apache.org/viewcvs?view=rev&rev=158599
Log:
Gotta love those Python runtime errors. :(

element.name != element,name

Modified:
    gump/trunk/python/gump/util/domutils.py

Modified: gump/trunk/python/gump/util/domutils.py
URL: http://svn.apache.org/viewcvs/gump/trunk/python/gump/util/domutils.py?view=diff&r1=158598&r2=158599
==============================================================================
--- gump/trunk/python/gump/util/domutils.py (original)
+++ gump/trunk/python/gump/util/domutils.py Tue Mar 22 04:00:17 2005
@@ -168,7 +168,7 @@
     
 def domAttributeIsTrue(element,name):
     return hasDomAttribute(element,name) and \
-               getDomAttributeValue(element.name) in ['true','True']
+               getDomAttributeValue(element,name) in ['true','True']
      
 
 def getDomAttributeValue(element,name,default=None):



Mime
View raw message