Make exception handling python 3 compatible.

This commit is contained in:
Eric Amador 2015-04-18 00:22:38 -04:00
parent b8aa694d07
commit dc031d9e01

View file

@ -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]