mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Remove dead code (unsupported Python 2.6)
This commit is contained in:
parent
83312e01f9
commit
849c551d55
1 changed files with 2 additions and 4 deletions
|
|
@ -8,10 +8,8 @@ import logging
|
|||
|
||||
from django import template
|
||||
from django.template import Node, TemplateSyntaxError
|
||||
try:
|
||||
from importlib import import_module
|
||||
except ImportError: # Python 2.6
|
||||
from django.utils.importlib import import_module
|
||||
from importlib import import_module
|
||||
|
||||
from analytical.utils import AnalyticalException
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue