Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
disable code that's not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfredo Sanchez committed Nov 9, 2013
1 parent ee359ea commit f3eb635
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions twext/who/index.py
Expand Up @@ -189,8 +189,9 @@ def indexedRecordsFromMatchExpression(self, expression, records=None):
for key in indexKeys:
matchingRecords |= fieldIndex.get(key, frozenset())

if records is not None:
matchingRecords &= records
# Not necessary, so don't unless we know it's a performance win:
# if records is not None:
# matchingRecords &= records

return succeed(matchingRecords)

Expand Down

0 comments on commit f3eb635

Please sign in to comment.