Skip to content

Commit

Permalink
[fc] Repository: five.intid
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2020-02-12T11:54:39+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/five.intid@8793ca7

Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.

Fixes plone/five.intid#15

Files changed:
A news/15.bugfix
M five/intid/intid.py
Repository: five.intid

Branch: refs/heads/master
Date: 2020-02-14T14:27:12+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/five.intid@b947e69

Merge pull request #16 from plone/maurits-zope5-compat

Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.

Files changed:
A news/15.bugfix
M five/intid/intid.py
  • Loading branch information
jensens committed Feb 14, 2020
1 parent ab9fbec commit fcf8885
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions last_commit.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,36 @@
Repository: Products.CMFPlacefulWorkflow
Repository: five.intid


Branch: refs/heads/master
Date: 2020-02-12T11:31:45+01:00
Date: 2020-02-12T11:54:39+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: https://github.com/plone/Products.CMFPlacefulWorkflow/commit/7a4f947e76e9e73295cc228cd4cc704a5dc1d715
Commit: https://github.com/plone/five.intid/commit/8793ca7a0eb8e7db123cc23cc7dc752045848d98

Fixed ModuleNotFoundError: No module named 'App.class_init' in Zope 5.
Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.

Fixes https://github.com/plone/Products.CMFPlacefulWorkflow/issues/31
Fixes https://github.com/plone/five.intid/issues/15

Files changed:
A news/31.bugfix
M Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py
M Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py
M Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py
A news/15.bugfix
M five/intid/intid.py

b"diff --git a/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py b/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\nindex 69ea3a7..c66ca70 100644\n--- a/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\n+++ b/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\n@@ -22,7 +22,7 @@\n from AccessControl import ClassSecurityInfo\n from AccessControl.requestmethod import postonly\n from Acquisition import aq_base\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from os.path import join as path_join\n from Persistence import PersistentMapping\n from Products.CMFCore.utils import getToolByName\ndiff --git a/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py b/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\nindex d126d55..3973d26 100644\n--- a/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\n+++ b/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\n@@ -23,7 +23,7 @@\n from AccessControl import Unauthorized\n from AccessControl.requestmethod import postonly\n from Acquisition import aq_parent\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from OFS.Folder import Folder\n from OFS.ObjectManager import IFAwareObjectManager\n from Products.CMFCore.interfaces import ISiteRoot\ndiff --git a/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py b/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\nindex 1db172e..dba854d 100644\n--- a/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\n+++ b/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\n@@ -23,7 +23,7 @@\n from Acquisition import aq_base\n from Acquisition import aq_inner\n from Acquisition import aq_parent\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from OFS.SimpleItem import SimpleItem\n from os.path import join as path_join\n from Products.CMFCore.utils import getToolByName\ndiff --git a/news/31.bugfix b/news/31.bugfix\nnew file mode 100644\nindex 0000000..b24ce23\n--- /dev/null\n+++ b/news/31.bugfix\n@@ -0,0 +1,2 @@\n+Fixed ModuleNotFoundError: No module named 'App.class_init' in Zope 5.\n+[maurits]\n"
b"diff --git a/five/intid/intid.py b/five/intid/intid.py\nindex 1ada637..8310b50 100644\n--- a/five/intid/intid.py\n+++ b/five/intid/intid.py\n@@ -1,6 +1,6 @@\n # -*- coding: utf-8 -*-\n from Acquisition import Explicit\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from zope.component import getAllUtilitiesRegisteredFor\n from zope.event import notify\n from zope.interface import implementer\ndiff --git a/news/15.bugfix b/news/15.bugfix\nnew file mode 100644\nindex 0000000..b86c94b\n--- /dev/null\n+++ b/news/15.bugfix\n@@ -0,0 +1,2 @@\n+Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.\n+[maurits]\n"

Repository: Products.CMFPlacefulWorkflow
Repository: five.intid


Branch: refs/heads/master
Date: 2020-02-14T14:26:37+01:00
Date: 2020-02-14T14:27:12+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: https://github.com/plone/Products.CMFPlacefulWorkflow/commit/fcd43fa49d5f140822d8b61adb6382a1bf49b681
Commit: https://github.com/plone/five.intid/commit/b947e69adebf3e0f859e86064db7df6c6ce1b831

Merge pull request #32 from plone/maurits-zope5-compat
Merge pull request #16 from plone/maurits-zope5-compat

Fixed ModuleNotFoundError: No module named 'App.class_init' in Zope 5.
Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.

Files changed:
A news/31.bugfix
M Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py
M Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py
M Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py
A news/15.bugfix
M five/intid/intid.py

b"diff --git a/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py b/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\nindex 69ea3a7..c66ca70 100644\n--- a/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\n+++ b/Products/CMFPlacefulWorkflow/DefaultWorkflowPolicy.py\n@@ -22,7 +22,7 @@\n from AccessControl import ClassSecurityInfo\n from AccessControl.requestmethod import postonly\n from Acquisition import aq_base\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from os.path import join as path_join\n from Persistence import PersistentMapping\n from Products.CMFCore.utils import getToolByName\ndiff --git a/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py b/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\nindex d126d55..3973d26 100644\n--- a/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\n+++ b/Products/CMFPlacefulWorkflow/PlacefulWorkflowTool.py\n@@ -23,7 +23,7 @@\n from AccessControl import Unauthorized\n from AccessControl.requestmethod import postonly\n from Acquisition import aq_parent\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from OFS.Folder import Folder\n from OFS.ObjectManager import IFAwareObjectManager\n from Products.CMFCore.interfaces import ISiteRoot\ndiff --git a/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py b/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\nindex 1db172e..dba854d 100644\n--- a/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\n+++ b/Products/CMFPlacefulWorkflow/WorkflowPolicyConfig.py\n@@ -23,7 +23,7 @@\n from Acquisition import aq_base\n from Acquisition import aq_inner\n from Acquisition import aq_parent\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from OFS.SimpleItem import SimpleItem\n from os.path import join as path_join\n from Products.CMFCore.utils import getToolByName\ndiff --git a/news/31.bugfix b/news/31.bugfix\nnew file mode 100644\nindex 0000000..b24ce23\n--- /dev/null\n+++ b/news/31.bugfix\n@@ -0,0 +1,2 @@\n+Fixed ModuleNotFoundError: No module named 'App.class_init' in Zope 5.\n+[maurits]\n"
b"diff --git a/five/intid/intid.py b/five/intid/intid.py\nindex 1ada637..8310b50 100644\n--- a/five/intid/intid.py\n+++ b/five/intid/intid.py\n@@ -1,6 +1,6 @@\n # -*- coding: utf-8 -*-\n from Acquisition import Explicit\n-from App.class_init import InitializeClass\n+from AccessControl.class_init import InitializeClass\n from zope.component import getAllUtilitiesRegisteredFor\n from zope.event import notify\n from zope.interface import implementer\ndiff --git a/news/15.bugfix b/news/15.bugfix\nnew file mode 100644\nindex 0000000..b86c94b\n--- /dev/null\n+++ b/news/15.bugfix\n@@ -0,0 +1,2 @@\n+Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.\n+[maurits]\n"

0 comments on commit fcf8885

Please sign in to comment.