Skip to content
Snippets Groups Projects
Commit e0e83063 authored by stephan-hof's avatar stephan-hof
Browse files

Merge pull request #12 from alexandrem/master

Fix missing index key in prefix extractor example
parents 8f75fce0 896538db
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ So always the first 5 bytes are used as the prefix ::
it.seek(prefix)
# prints {b'00002.z': b'z', b'00002.y': b'y', b'00002.x': b'x'}
print dict(itertools.takewhile(lambda item: item[].startswith(prefix), it))
print dict(itertools.takewhile(lambda item: item[0].startswith(prefix), it))
Backup And Restore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment