Commit 0819f725 authored by Jannis Leidel's avatar Jannis Leidel Committed by Sean Bleier

Only bail in case of a ImportError.

parent 559acb60
...@@ -10,7 +10,7 @@ except ImportError: ...@@ -10,7 +10,7 @@ except ImportError:
try: try:
import redis import redis
except: except ImportError:
raise InvalidCacheBackendError( raise InvalidCacheBackendError(
"Redis cache backend requires the 'redis-py' library") "Redis cache backend requires the 'redis-py' library")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment