Closed
Description
Following code does not work:
import redis.client
db = redis.client.Redis('localhost', 6379)
db.set("example","123")
True
try:
... db.set("invalid key","123")
... except Exception, e:
... print str(e)
...
wrong number of arguments for 'set' command
db.set("example","123")
Traceback (most recent call last):
...
File "<...>\redis\client.py", line 274, in _parse_response
raise ResponseError(response)
redis.exceptions.ResponseError: unknown command '123'
The same behavior is with Redis server 1.2.2 and 1.3.7
Metadata
Metadata
Assignees
Labels
No labels