Closed
Description
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from redis import Redis, ConnectionError, ResponseError
>>> r = Redis(db=0)
>>> r.keys('*')
[]
>>> r.set(1, 'somevalue')
'OK'
>>> r.keys('*')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.6-universal/egg/redis.py", line 337, in keys
AttributeError: 'int' object has no attribute 'split'
Metadata
Metadata
Assignees
Labels
No labels