[Checkins] SVN: zope.index/trunk/src/zope/index/field/sorting.py Wrap long lines.
Tres Seaver
tseaver at palladion.com
Thu Jun 11 02:15:27 EDT 2009
Log message for revision 100839:
Wrap long lines.
Changed:
U zope.index/trunk/src/zope/index/field/sorting.py
-=-
Modified: zope.index/trunk/src/zope/index/field/sorting.py
===================================================================
--- zope.index/trunk/src/zope/index/field/sorting.py 2009-06-11 05:36:23 UTC (rev 100838)
+++ zope.index/trunk/src/zope/index/field/sorting.py 2009-06-11 06:15:27 UTC (rev 100839)
@@ -38,7 +38,8 @@
if not numdocs:
raise StopIteration
- if not isinstance(docids, (self.family.IF.Set, self.family.IF.TreeSet)):
+ if not isinstance(docids,
+ (self.family.IF.Set, self.family.IF.TreeSet)):
docids = self.family.IF.Set(docids)
if not docids:
raise StopIteration
@@ -112,7 +113,8 @@
# that this case is rarely exercised in practice.
n = 0
for stored_docids in fwd_index.values():
- for docid in self.family.IF.intersection(docids, stored_docids):
+ for docid in self.family.IF.intersection(docids,
+ stored_docids):
n += 1
yield docid
if limit and n >= limit:
More information about the Checkins
mailing list