You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/03/19 00:33:10 UTC
cvs commit: gump/python/gump/utils xmlutils.py
ajack 2004/03/18 15:33:10
Modified: python/gump/utils xmlutils.py
Log:
For now, log 'unexpected metadata' as info on the object.
So things like <mdir would be listed as 'unknown' on the page.
Revision Changes Path
1.13 +4 -3 gump/python/gump/utils/xmlutils.py
Index: xmlutils.py
===================================================================
RCS file: /home/cvs/gump/python/gump/utils/xmlutils.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- xmlutils.py 16 Mar 2004 23:56:41 -0000 1.12
+++ xmlutils.py 18 Mar 2004 23:33:10 -0000 1.13
@@ -166,9 +166,10 @@
return attr # :TODO: Get this checked out
except AttributeError:
# It is OK if people extend the GOM...
- log.debug("No metadata related to " +
- "name '%s' on %s" % \
- (name, self.__class__.__name__))
+ message="No metadata related to tag '%s' on %s" % \
+ (name, self.__class__.__name__)
+ self.addInfo(message)
+ log.debug(message)
#
# Process characters...
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org