Permalink
Browse files

Make sure arguments to IF.diffrence are IF.Set.

  • Loading branch information...
1 parent 9364fd2 commit 23f62445869300f5b6c0a7eca4977e0ee4598f13 @chrisrossi chrisrossi committed Mar 17, 2011
Showing with 5 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +2 −1 repoze/catalog/indexes/common.py
View
@@ -12,3 +12,6 @@ repoze/catalog/coverage.xml
distribute-*.gz
env
.build
+bin
+include
+lib
@@ -138,4 +138,5 @@ def _migrate_to_0_8_0(self, docids):
I'm sorry.
"""
docids = self.family.IF.Set(docids)
- self._not_indexed = self.family.IF.difference(docids, self._indexed())
+ indexed = self.family.IF.Set(self._indexed())
+ self._not_indexed = self.family.IF.difference(docids, indexed)

0 comments on commit 23f6244

Please sign in to comment.