[CalendarServer-changes] [6908] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 7 14:49:46 PST 2011
Revision: 6908
http://trac.macosforge.org/projects/calendarserver/changeset/6908
Author: wsanchez at apple.com
Date: 2011-02-07 14:49:46 -0800 (Mon, 07 Feb 2011)
Log Message:
-----------
cosmetic
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/storebridge.py
CalendarServer/trunk/txdav/caldav/datastore/scheduling.py
CalendarServer/trunk/txdav/common/datastore/file.py
CalendarServer/trunk/txdav/common/datastore/sql.py
Modified: CalendarServer/trunk/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/storebridge.py 2011-02-07 22:48:21 UTC (rev 6907)
+++ CalendarServer/trunk/twistedcaldav/storebridge.py 2011-02-07 22:49:46 UTC (rev 6908)
@@ -1313,7 +1313,7 @@
A resource wrapping a calendar object.
"""
- compareAttributes = '_newStoreObject'.split()
+ compareAttributes = ("_newStoreObject")
_componentFromStream = VCalendar.fromString
@@ -1493,7 +1493,9 @@
A resource wrapping a addressbook object.
"""
- compareAttributes = '_newStoreObject'.split()
+ compareAttributes = (
+ "_newStoreObject",
+ )
_componentFromStream = VCard.fromString
Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling.py 2011-02-07 22:48:21 UTC (rev 6907)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling.py 2011-02-07 22:49:46 UTC (rev 6908)
@@ -130,7 +130,10 @@
class ImplicitCalendar(FancyEqMixin,
proxyForInterface(ICalendar, "_subCalendar")):
- compareAttributes = ['_subCalendar', '_parentHome']
+ compareAttributes = (
+ "_subCalendar",
+ "_parentHome",
+ )
def __init__(self, parentHome, subCalendar):
self._parentHome = parentHome
Modified: CalendarServer/trunk/txdav/common/datastore/file.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/file.py 2011-02-07 22:48:21 UTC (rev 6907)
+++ CalendarServer/trunk/txdav/common/datastore/file.py 2011-02-07 22:49:46 UTC (rev 6908)
@@ -551,7 +551,11 @@
Common ancestor class of AddressBooks and Calendars.
"""
- compareAttributes = '_name _home _transaction'.split()
+ compareAttributes = (
+ "_name",
+ "_home",
+ "_transaction",
+ )
_objectResourceClass = None
@@ -881,7 +885,10 @@
@type _path: L{FilePath}
"""
- compareAttributes = '_name _parentCollection'.split()
+ compareAttributes = (
+ "_name",
+ "_parentCollection",
+ )
def __init__(self, name, parent, metadata=None):
self._name = name
Modified: CalendarServer/trunk/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql.py 2011-02-07 22:48:21 UTC (rev 6907)
+++ CalendarServer/trunk/txdav/common/datastore/sql.py 2011-02-07 22:49:46 UTC (rev 6908)
@@ -882,7 +882,11 @@
Common ancestor class of AddressBooks and Calendars.
"""
- compareAttributes = "_name _home _resourceID".split()
+ compareAttributes = (
+ "_name",
+ "_home",
+ "_resourceID",
+ )
_objectResourceClass = None
_bindTable = None
@@ -1710,7 +1714,10 @@
@type _path: L{FilePath}
"""
- compareAttributes = "_name _parentCollection".split()
+ compareAttributes = (
+ "_name",
+ "_parentCollection",
+ )
_objectTable = None
@@ -1967,7 +1974,10 @@
implements(INotificationCollection)
- compareAttributes = "_uid _resourceID".split()
+ compareAttributes = (
+ "_uid",
+ "_resourceID",
+ )
_revisionsTable = NOTIFICATION_OBJECT_REVISIONS_TABLE
@@ -2287,7 +2297,10 @@
implements(INotificationObject)
- compareAttributes = "_resourceID _home".split()
+ compareAttributes = (
+ "_resourceID",
+ "_home",
+ )
def __init__(self, home, uid):
self._home = home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110207/735d2632/attachment.html>
More information about the calendarserver-changes
mailing list