You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by an...@apache.org on 2013/02/11 11:01:31 UTC

svn commit: r1444702 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

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')