Permalink
Browse files

remove comment

  • Loading branch information...
1 parent 4b64a19 commit 03c95b6f7f474c8019ec89b73e1b8f1a09f19877 @rnixx rnixx committed Sep 24, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/souper/soup.py
View
4 src/souper/soup.py
@@ -96,8 +96,6 @@ def query(self, queryobject, sort_index=None, limit=None, sort_type=None,
limit=limit, sort_type=sort_type,
reverse=reverse, names=names)
if with_size:
- # XXX: should this be 'return' instead of 'yield'. yielding size is
- # useless
yield size
for iid in iids:
yield self.data[iid]
@@ -108,8 +106,6 @@ def lazy(self, queryobject, sort_index=None, limit=None, sort_type=None,
limit=limit, sort_type=sort_type,
reverse=reverse, names=names)
if with_size:
- # XXX: should this be 'return' instead of 'yield'. yielding size is
- # useless
yield size
for iid in iids:
yield LazyRecord(iid, self)

0 comments on commit 03c95b6

Please sign in to comment.