incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From and...@apache.org
Subject svn commit: r1444702 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
Date Mon, 11 Feb 2013 10:01:31 GMT
Author: andrej
Date: Mon Feb 11 10:01:30 2013
New Revision: 1444702

URL: http://svn.apache.org/r1444702
Log:
#379 fix error when data is None

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1444702&r1=1444701&r2=1444702&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Mon Feb 11 10:01:30 2013
@@ -258,7 +258,7 @@ class BloodhoundTheme(ThemeBase):
                 modifier = getattr(self, modifier)
                 modifier(req, template, data, content_type, is_active_theme)
 
-        if is_active_theme:
+        if is_active_theme and data is not None:
             data['responsive_layout'] = self.env.config.getbool(
                     'bloodhound', 'responsive_layout', 'true')
 



Mime
View raw message