Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

disable code that's not required

  • Loading branch information
wsanchez committed Nov 9, 2013
1 parent ee359ea commit f3eb635c7ed1f3f0262f7c919cde9e475fc99cde
Showing with 3 additions and 2 deletions.
  1. +3 −2 twext/who/index.py
@@ -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)

0 comments on commit f3eb635

Please sign in to comment.
You can’t perform that action at this time.