Skip to content

Commit

Permalink
not yielding duplicate entryids in ringodisco
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Tuulos committed Jun 10, 2008
1 parent 0997fb4 commit bb38c02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ringogw/py/ringodisco.py
Expand Up @@ -58,10 +58,11 @@ def read_entry():
if not entry:
break
entryid, flags, key, val = entry
if entryid == prev_id:
continue
if flags & 1 or flags & 2:
continue
if entryid == prev_id:
continue
prev_id = entryid
yield key, val


Expand Down

0 comments on commit bb38c02

Please sign in to comment.