[CalendarServer-changes] [11605] CalendarServer/trunk/twistedcaldav/storebridge.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 14 11:57:26 PDT 2013
Revision: 11605
http://trac.calendarserver.org//changeset/11605
Author: gaya at apple.com
Date: 2013-08-14 11:57:26 -0700 (Wed, 14 Aug 2013)
Log Message:
-----------
fix crudUpdate pyflakes errors
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/storebridge.py
Modified: CalendarServer/trunk/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/storebridge.py 2013-08-14 18:44:04 UTC (rev 11604)
+++ CalendarServer/trunk/twistedcaldav/storebridge.py 2013-08-14 18:57:26 UTC (rev 11605)
@@ -752,8 +752,6 @@
crudDeleteInfo = []
crudUpdateInfo = []
crudCreateInfo = []
- checkedBindPrivelege = None
- checkedUnbindPrivelege = None
for index, xmlchild in enumerate(xmlroot.children):
# Determine the multiput operation: create, update, delete
@@ -864,7 +862,7 @@
if ifmatch and ifmatch != etag.generate():
raise HTTPError(PRECONDITION_FAILED)
- yield self.storeResourceData(updateResource, component, componentdata)
+ changedData = yield self.storeResourceData(updateResource, component, componentdata)
except HTTPError, e:
# Extract the pre-condition
@@ -877,7 +875,7 @@
code = BAD_REQUEST
if code is None:
- if not return_changed or dataChanged is None:
+ if not return_changed or changedData is None:
xmlresponses[index] = davxml.PropertyStatusResponse(
davxml.HRef.fromString(href),
davxml.PropertyStatus(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130814/3b32c423/attachment.html>
More information about the calendarserver-changes
mailing list