[CalendarServer-changes] [12731] CalendarServer/branches/release/CalendarServer-5.2-dev/txdav/common /datastore/test/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:24:36 PDT 2014
Revision: 12731
http://trac.calendarserver.org//changeset/12731
Author: cdaboo at apple.com
Date: 2014-02-20 10:07:19 -0800 (Thu, 20 Feb 2014)
Log Message:
-----------
Whitespace.
Modified Paths:
--------------
CalendarServer/branches/release/CalendarServer-5.2-dev/txdav/common/datastore/test/util.py
Modified: CalendarServer/branches/release/CalendarServer-5.2-dev/txdav/common/datastore/test/util.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-5.2-dev/txdav/common/datastore/test/util.py 2014-02-20 14:56:33 UTC (rev 12730)
+++ CalendarServer/branches/release/CalendarServer-5.2-dev/txdav/common/datastore/test/util.py 2014-02-20 18:07:19 UTC (rev 12731)
@@ -111,12 +111,14 @@
def recordWithUID(self, uid):
return self.records.get(uid)
+
def recordWithGUID(self, guid):
for record in self.records.itervalues():
if record.guid == guid:
return record
return None
+
def addRecord(self, record):
self.records[record.uid] = record
@@ -733,7 +735,7 @@
return "/%s/%s/%s/" % (prefix, self.hostname, id)
- def send(self, prefix, id, txn, priority):
+ def send(self, prefix, id, txn, priority):
self.history.append((self.pushKeyForId(prefix, id), priority))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/275ec41e/attachment.html>
More information about the calendarserver-changes
mailing list