[Testbot] Plone 5.0 - Python 2.7 - Build # 3578 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Sat Nov 1 20:39:41 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 3578 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/3578/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2014-11-01T20:22:42Z
Author: Ramon Navarro Bosch (bloodbare) <ramon.nb at gmail.com>
Commit: https://github.com/plone/Products.CMFPlone/commit/5abd356155affedcf84b2b34e2e1c3227d31c0fb

Bullet proof

Files changed:
M Products/CMFPlone/resources/browser/resource.py

diff --git a/Products/CMFPlone/resources/browser/resource.py b/Products/CMFPlone/resources/browser/resource.py
index 2ff1cfb..74e262e 100644
--- a/Products/CMFPlone/resources/browser/resource.py
+++ b/Products/CMFPlone/resources/browser/resource.py
@@ -86,10 +86,16 @@ def get_cooked_bundles(self):
             themeObj = getTheme(theme)
             enabled_diazo_bundles = themeObj.enabled_bundles
             disabled_diazo_bundles = themeObj.disabled_bundles
-            self.diazo_production_css = themeObj.production_css
-            self.diazo_development_css = themeObj.development_css
-            self.diazo_development_js = themeObj.development_js
-            self.diazo_production_js = themeObj.production_js
+            if hasattr(themeObj, 'production_css'):
+                self.diazo_production_css = themeObj.production_css
+                self.diazo_development_css = themeObj.development_css
+                self.diazo_development_js = themeObj.development_js
+                self.diazo_production_js = themeObj.production_js
+            else:
+                self.diazo_production_css = None
+                self.diazo_development_css = None
+                self.diazo_development_js = None
+                self.diazo_production_js = None
         else:
             enabled_diazo_bundles = []
             disabled_diazo_bundles = []




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1695 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20141101/7606e7bb/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 307561 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20141101/7606e7bb/attachment-0003.obj>


More information about the Testbot mailing list