[CalendarServer-changes] [6024] CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore /postgres.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 9 17:53:30 PDT 2010


Revision: 6024
          http://trac.macosforge.org/projects/calendarserver/changeset/6024
Author:   sagen at apple.com
Date:     2010-08-09 17:53:30 -0700 (Mon, 09 Aug 2010)
Log Message:
-----------
fix copy/paste error _calendar -> _addressbook

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/postgres.py

Modified: CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/postgres.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/postgres.py	2010-08-10 00:49:53 UTC (rev 6023)
+++ CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/postgres.py	2010-08-10 00:53:30 UTC (rev 6024)
@@ -1241,7 +1241,7 @@
 
 
     def setComponent(self, component):
-        validateAddressBookComponent(self, self._calendar, component)
+        validateAddressBookComponent(self, self._addressbook, component)
 
         vCardText = str(component)
         self._txn.execSQL(
@@ -1249,8 +1249,8 @@
             "where RESOURCE_ID = %s", [vCardText, self._resourceID]
         )
         self._vCardText = vCardText
-        if self._calendar._notifier:
-            self._calendar._home._txn.postCommit(self._calendar._notifier.notify)
+        if self._addressbook._notifier:
+            self._addressbook._home._txn.postCommit(self._addressbook._notifier.notify)
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100809/4fc71be0/attachment.html>


More information about the calendarserver-changes mailing list