Skip to content

Commit

Permalink
- Remove Zope 2.13 fossils to stay compatible with Zope 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jan 30, 2020
1 parent 643fa7f commit 89d8559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
2.0.2 (unreleased)
------------------

- Remove Zope 2.13 fossils to stay compatible with Zope 5

- Force saving unpersisted changes in toolset registry.
Fixes `issue 86 <https://github.com/zopefoundation/Products.GenericSetup/issues/86>`_.

Expand Down
6 changes: 0 additions & 6 deletions Products/GenericSetup/browser/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"""

from Products.Five import BrowserView
from Products.Five.browser.decode import processInputs
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from Products.Five.component.interfaces import IObjectManagerSite
from zope.component import adapts
Expand All @@ -23,7 +22,6 @@
from zope.interface import implementer
from zope.interface import Interface
from zope.schema import Text
from ZPublisher import HTTPRequest

from Products.GenericSetup.context import SetupEnviron
from Products.GenericSetup.interfaces import IBody
Expand Down Expand Up @@ -66,10 +64,6 @@ class ComponentsSetupView(BrowserView):
status = ''

def update(self):
# BBB: for Zope < 2.14
if not getattr(self.request, 'postProcessInputs', False):
processInputs(self.request, [HTTPRequest.default_encoding])

self.adapter = getAdapter(self.context, IComponentsSetupSchema)

if 'apply' in self.request.form:
Expand Down

0 comments on commit 89d8559

Please sign in to comment.