From 31b44729b19770928c5a045eef717bb4d0f3e9fa Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 3 Oct 2013 16:52:09 +0200 Subject: [PATCH] fix except: --- nsupdate/nsupdate/context_processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/nsupdate/context_processors.py b/nsupdate/nsupdate/context_processors.py index b9b9104..5832ca8 100644 --- a/nsupdate/nsupdate/context_processors.py +++ b/nsupdate/nsupdate/context_processors.py @@ -8,6 +8,6 @@ def add_settings(request): context['WWW_IPV6_HOST'] = settings.WWW_IPV6_HOST try: context['ENABLE_PIWIK_PRODUCTION'] = settings.ENABLE_PIWIK_PRODUCTION - except: + except AttributeError: pass return context