Merge pull request #12 from alexandrem/master

Fix missing index key in prefix extractor example
This commit is contained in:
stephan-hof 2014-08-03 17:43:55 +02:00
commit e0e83063f1

View file

@ -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