Fixes connectionerror bug on 2.7

This commit is contained in:
Ilan Steemers
2015-09-02 20:17:44 +02:00
parent dfb1b03cd0
commit e22980834c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -48,4 +48,4 @@ class Disque(Broker):
return redis_client
except redis.exceptions.ConnectionError:
continue
raise ConnectionError('Could not connect to any Disque nodes')
raise redis.exceptions.ConnectionError('Could not connect to any Disque nodes')