mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Make exception handling python 3 compatible.
This commit is contained in:
parent
b8aa694d07
commit
dc031d9e01
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ def _load_template_nodes():
|
|||
module = _import_tag_module(path)
|
||||
try:
|
||||
module.contribute_to_analytical(add_node_cls)
|
||||
except AnalyticalException, e:
|
||||
except AnalyticalException as e:
|
||||
logger.debug("not loading tags from '%s': %s", path, e)
|
||||
for location in TAG_LOCATIONS:
|
||||
template_nodes[location] = sum((template_nodes[location][p]
|
||||
|
|
|
|||
Loading…
Reference in a new issue