Permalink
Browse files

The 'bytes' arg to Iterator.seek() cannot be None

  • Loading branch information...
1 parent 50ca631 commit e8fb35e4e12e79984c8fb62e5cfcf73fd3303e45 @wbolster committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plyvel/_plyvel.pyx
View
@@ -887,7 +887,7 @@ cdef class Iterator:
self.state = AFTER_STOP
- def seek(self, bytes target):
+ def seek(self, bytes target not None):
if self._iter is NULL:
raise RuntimeError("Cannot operate on closed LevelDB database")

0 comments on commit e8fb35e

Please sign in to comment.