Skip to content

Commit

Permalink
fix #17 upgrade support for redis-py 3.0.X
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Jan 6, 2019
1 parent 5e1ea9a commit c47a634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rejson/client.py
@@ -1,7 +1,7 @@
import six
import json
from redis import StrictRedis
from redis.client import BasePipeline
from redis.client import Pipeline
from redis._compat import (long, nativestr)
from .path import Path

Expand Down Expand Up @@ -257,5 +257,5 @@ def pipeline(self, transaction=True, shard_hint=None):
p.setDecoder(self._decoder)
return p

class Pipeline(BasePipeline, Client):
class Pipeline(Pipeline, Client):
"Pipeline for ReJSONClient"
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,3 +1,3 @@
hiredis==0.2.0
redis==2.10.5
redis>=3.0.0
six>=1.10

0 comments on commit c47a634

Please sign in to comment.