Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
Django-Redis-Cache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared
Django-Redis-Cache
Commits
9d575139
Commit
9d575139
authored
Jun 29, 2015
by
Sean Bleier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use python3 compatible exception handling.
parent
753a1a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
base.py
redis_cache/backends/base.py
+2
-2
No files found.
redis_cache/backends/base.py
View file @
9d575139
...
@@ -105,8 +105,8 @@ class BaseRedisCache(BaseCache):
...
@@ -105,8 +105,8 @@ class BaseRedisCache(BaseCache):
parser_class
=
getattr
(
mod
,
cls_name
)
parser_class
=
getattr
(
mod
,
cls_name
)
except
AttributeError
:
except
AttributeError
:
raise
ImproperlyConfigured
(
"Could not find parser class '
%
s'"
%
parser_class
)
raise
ImproperlyConfigured
(
"Could not find parser class '
%
s'"
%
parser_class
)
except
ImportError
,
e
:
except
ImportError
as
ex
:
raise
ImproperlyConfigured
(
"Could not find module '
%
s'"
%
e
)
raise
ImproperlyConfigured
(
"Could not find module '
%
s'"
%
e
x
)
return
parser_class
return
parser_class
def
get_pickle_version
(
self
):
def
get_pickle_version
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment