Skip to content

Commit b425f0b

Browse files
Code clean.
git-svn-id: http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk@13693 e27351fd-9f3e-4f54-a53b-843176b1656c
1 parent a8e4014 commit b425f0b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

txdav/dps/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _retrieveContinuation(self, token):
100100
@return: an iterable of records, or None if the token does not exist
101101
"""
102102
if token in self._continuations:
103-
timestamp, records = self._continuations[token]
103+
_ignore_timestamp, records = self._continuations[token]
104104
del self._continuations[token]
105105
else:
106106
records = None

txdav/who/directory.py

-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ def recordsMatchingTokens(self, tokens, context=None, limitResults=50,
175175
else:
176176
expression = CompoundExpression(outer, Operand.AND)
177177

178-
results = []
179-
180178
if context is not None:
181179
recordTypes = self.recordTypesForSearchContext(context)
182180
else:

txdav/who/opendirectory.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
from twext.who.opendirectory import DirectoryService
3030

31+
DirectoryService # Something has to use the import
3132

3233
# Hoorj OMG haxx
3334
from twext.who.opendirectory._constants import ODRecordType as _ODRecordType

0 commit comments

Comments
 (0)