[CalendarServer-changes] [11457] CalendarServer/trunk/txdav/carddav/datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 3 14:03:20 PDT 2013


Revision: 11457
          http://trac.calendarserver.org//changeset/11457
Author:   gaya at apple.com
Date:     2013-07-03 14:03:20 -0700 (Wed, 03 Jul 2013)
Log Message:
-----------
Remove unneeded if in AddressBookHome.createdHome()

Modified Paths:
--------------
    CalendarServer/trunk/txdav/carddav/datastore/sql.py

Modified: CalendarServer/trunk/txdav/carddav/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/carddav/datastore/sql.py	2013-07-03 19:24:00 UTC (rev 11456)
+++ CalendarServer/trunk/txdav/carddav/datastore/sql.py	2013-07-03 21:03:20 UTC (rev 11457)
@@ -192,8 +192,7 @@
 
     @inlineCallbacks
     def createdHome(self):
-        if not self._syncTokenRevision:
-            yield self.addressbook()._initSyncToken()
+        yield self.addressbook()._initSyncToken()
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130703/304886b2/attachment.html>


More information about the calendarserver-changes mailing list