Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Nov 24, 2023
1 parent b07aad7 commit 41acc19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/plone/restapi/serializer/controlpanels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ def __getattr__(self, name):
def __setattr__(self, name, value):
if name in self.__schema__:
full_name = self.__prefix__ + name
# if full_name not in self.__registry__:
# raise AttributeError(name)
self.__registry__[full_name] = value
else:
self.__dict__[name] = value
1 change: 0 additions & 1 deletion src/plone/restapi/tests/test_services_controlpanels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from plone.app.testing import TEST_USER_ID
from plone.restapi.testing import PLONE_RESTAPI_DX_FUNCTIONAL_TESTING
from plone.restapi.testing import RelativeSession
from zope import schema
from zope.component import getUtility
from plone.registry.interfaces import IRegistry
import transaction
Expand Down

0 comments on commit 41acc19

Please sign in to comment.