Skip to content
Snippets Groups Projects
Commit d3ca03b5 authored by joe's avatar joe
Browse files

Final fix for issue12

parent d0234c76
No related branches found
No related tags found
No related merge requests found
......@@ -69,8 +69,8 @@ class LevelDbInterface(base.DbInterface):
return None
def _find_all(self, entity_name):
cursor = self.db.RangeIter(u'%s:' % entity_name,
u'%s:\xff' % entity_name)
final = entity_name.encode('utf-8') + '\xff'
cursor = self.db.RangeIter(u'%s:' % entity_name, final)
for key, serialized_data in cursor:
yield self._deserialize(serialized_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment