[CalendarServer-changes] [8322] CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Nov 18 10:13:07 PST 2011
Revision: 8322
http://trac.macosforge.org/projects/calendarserver/changeset/8322
Author: glyph at apple.com
Date: 2011-11-18 10:13:06 -0800 (Fri, 18 Nov 2011)
Log Message:
-----------
some trivial cleanup reformatting
Modified Paths:
--------------
CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/datastore/sql.py
Modified: CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/datastore/sql.py 2011-11-18 18:11:07 UTC (rev 8321)
+++ CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/datastore/sql.py 2011-11-18 18:13:06 UTC (rev 8322)
@@ -647,9 +647,10 @@
@inlineCallbacks
def component(self):
"""
- Read calendar data and validate/fix it. Do not raise a store error here if there are unfixable
- errors as that could prevent the overall request to fail. Instead we will hand bad data off to
- the caller - that is not ideal but in theory we should have checked everything on the way in and
+ Read calendar data and validate/fix it. Do not raise a store error here
+ if there are unfixable errors as that could prevent the overall request
+ to fail. Instead we will hand bad data off to the caller - that is not
+ ideal but in theory we should have checked everything on the way in and
only allowed in good data.
"""
text = yield self._text()
@@ -667,10 +668,12 @@
fixed, unfixed = component.validCalendarData(doFix=True, doRaise=False)
if unfixed:
- self.log_error("Calendar data id=%s had unfixable problems:\n %s" % (self._resourceID, "\n ".join(unfixed),))
-
+ self.log_error("Calendar data id=%s had unfixable problems:\n %s" %
+ (self._resourceID, "\n ".join(unfixed),))
+
if fixed:
- self.log_error("Calendar data id=%s had fixable problems:\n %s" % (self._resourceID, "\n ".join(fixed),))
+ self.log_error("Calendar data id=%s had fixable problems:\n %s" %
+ (self._resourceID, "\n ".join(fixed),))
returnValue(component)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111118/0054c085/attachment.html>
More information about the calendarserver-changes
mailing list