aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/__init__.py')
-rw-r--r--debug_toolbar/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/__init__.py b/debug_toolbar/__init__.py
index 48da4a6..feb6925 100644
--- a/debug_toolbar/__init__.py
+++ b/debug_toolbar/__init__.py
@@ -3,5 +3,5 @@ __all__ = ('VERSION',)
try:
VERSION = __import__('pkg_resources') \
.get_distribution('django-debug-toolbar').version
-except Exception, e:
+except Exception as e:
VERSION = 'unknown'