Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Sep 24, 2012
1 parent 4b64a19 commit 03c95b6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/souper/soup.py
Expand Up @@ -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]
Expand All @@ -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)
Expand Down

0 comments on commit 03c95b6

Please sign in to comment.