Permalink
Browse files

Iterable needed

  • Loading branch information...
1 parent a40dc15 commit f907dbe0768d1b3b463ad84925b183affe095438 John Watson committed Apr 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 nydus/db/backends/redis.py
  2. +1 −1 nydus/db/backends/thoonk.py
@@ -30,7 +30,7 @@ def execute(self):
class Redis(BaseConnection):
# Exceptions that can be retried by this backend
- retryable_exceptions = frozenset(RedisError)
+ retryable_exceptions = frozenset([RedisError])
supports_pipelines = True
def __init__(self, host='localhost', port=6379, db=0, timeout=None, **options):
@@ -17,7 +17,7 @@
class Thoonk(BaseConnection):
# Exceptions that can be retried by this backend
- retryable_exceptions = frozenset(RedisError)
+ retryable_exceptions = frozenset([RedisError])
supports_pipelines = False
def __init__(self, host='localhost', port=6379, db=0, timeout=None, listen=False, **options):

0 comments on commit f907dbe

Please sign in to comment.