diff options
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Reporting/Compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/Compat.py b/src/lib/Bcfg2/Reporting/Compat.py index d8f439e22..57261970d 100644 --- a/src/lib/Bcfg2/Reporting/Compat.py +++ b/src/lib/Bcfg2/Reporting/Compat.py @@ -12,7 +12,7 @@ try: # Django < 1.6 from django.conf.urls import defaults django_urls = defaults -except: +except ImportError: # Django > 1.6 from django.conf import urls django_urls = urls |