[CalendarServer-changes] [12179] CalendarServer/branches/users/gaya/cleanrevisions/txdav/carddav/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:23:55 PDT 2014
Revision: 12179
http://trac.calendarserver.org//changeset/12179
Author: gaya at apple.com
Date: 2013-12-20 13:49:27 -0800 (Fri, 20 Dec 2013)
Log Message:
-----------
don't remove addressbook.vcf from sync report (added only if revision == 0)
Modified Paths:
--------------
CalendarServer/branches/users/gaya/cleanrevisions/txdav/carddav/datastore/sql.py
Modified: CalendarServer/branches/users/gaya/cleanrevisions/txdav/carddav/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/cleanrevisions/txdav/carddav/datastore/sql.py 2013-12-20 20:39:22 UTC (rev 12178)
+++ CalendarServer/branches/users/gaya/cleanrevisions/txdav/carddav/datastore/sql.py 2013-12-20 21:49:27 UTC (rev 12179)
@@ -637,9 +637,12 @@
# add change for addressbook group
changed, deleted = yield super(AddressBook, self).sharedChildResourceNamesSinceRevision(revision, depth)
- # remove addressbook group from sync report
- if changed and depth != "1":
- changed -= set(["%s/%s" % (path, self._groupForSharedAddressBookName(),)])
+ #===================================================================
+ # # Add the following to add the addressbook group in sync report:
+ #
+ # if changed and depth != "1":
+ # changed.add("%s/%s" % (path, self._groupForSharedAddressBookName(),))
+ #===================================================================
returnValue((changed, deleted))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/f98c33cf/attachment.html>
More information about the calendarserver-changes
mailing list