[CalendarServer-changes] [7901] CalendarServer/branches/users/glyph/imip-and-admin-html/ twistedcaldav/mail.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:40:20 PDT 2011


Revision: 7901
          http://trac.macosforge.org/projects/calendarserver/changeset/7901
Author:   glyph at apple.com
Date:     2011-08-11 21:40:19 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
beExtremelyLenient to the rescue

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:40:09 UTC (rev 7900)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:40:19 UTC (rev 7901)
@@ -185,7 +185,7 @@
 
 
 def _fixup(data, rendererName):
-    document = parseString(data)
+    document = parseString(data, beExtremelyLenient=True)
     document.documentElement.setAttribute(
         "xmlns:t", TEMPLATE_NAMESPACE
     )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/50269fdc/attachment-0001.html>


More information about the calendarserver-changes mailing list