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

jenkins at plone.org jenkins at plone.org
Fri Jul 25 07:03:10 UTC 2014


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

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


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

Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2014-07-25T08:01:18+02:00
Author: Timo Stollenwerk (tisto) <tisto at plone.org>
Commit: https://github.com/plone/plone.app.upgrade/commit/9cbcc7357e72f3c64a0abd87f0b8468961a7d071

Plone neither provides an IFactoryTool nor ships with ATCT. This partly fixes a problem with robot-server.

Files changed:
M plone/app/upgrade/v30/alphas.py

diff --git a/plone/app/upgrade/v30/alphas.py b/plone/app/upgrade/v30/alphas.py
index a4a6a00..7fa0378 100644
--- a/plone/app/upgrade/v30/alphas.py
+++ b/plone/app/upgrade/v30/alphas.py
@@ -88,7 +88,12 @@
 try:
     from Products.CMFPlone.interfaces import IFactoryTool
 except:
-    from Products.ATContentTypes.interfaces import IFactoryTool
+    try:
+        from Products.ATContentTypes.interfaces import IFactoryTool
+    except:
+        # Plone 5 neither provides an IFactoryTool nor ships with ATCT
+        from zope.interface import Interface
+        IFactoryTool = Interface
 
 
 def three0_alpha1(context):




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


More information about the Testbot mailing list