[CalendarServer-changes] [12491] twext/trunk/twext/who/xml.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:19:23 PDT 2014


Revision: 12491
          http://trac.calendarserver.org//changeset/12491
Author:   wsanchez at apple.com
Date:     2014-01-30 16:20:06 -0800 (Thu, 30 Jan 2014)
Log Message:
-----------
Continue after attribute error.

Modified Paths:
--------------
    twext/trunk/twext/who/xml.py

Modified: twext/trunk/twext/who/xml.py
===================================================================
--- twext/trunk/twext/who/xml.py	2014-01-30 23:37:45 UTC (rev 12490)
+++ twext/trunk/twext/who/xml.py	2014-01-31 00:20:06 UTC (rev 12491)
@@ -310,12 +310,14 @@
             except ValueError:
                 if unknownFieldElements is not None:
                     unknownFieldElements.add(fieldNode.tag)
+                continue
 
             try:
                 fieldName = fieldElement.fieldName
             except AttributeError:
                 if unknownFieldElements is not None:
                     unknownFieldElements.add(fieldNode.tag)
+                continue
 
             vType = self.fieldName.valueType(fieldName)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/336590fd/attachment.html>


More information about the calendarserver-changes mailing list