diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/zope/security/checker.py | 2 | ||||
-rw-r--r-- | src/zope/security/decorator.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/zope/security/checker.py b/src/zope/security/checker.py index 67723e8..fe570d1 100644 --- a/src/zope/security/checker.py +++ b/src/zope/security/checker.py @@ -135,7 +135,7 @@ def ProxyFactory(object, checker=None): directlyProvides(ProxyFactory, ISecurityProxyFactory) # This import represents part of the API for the proxy module -from . import proxy +from . import proxy # noqa: E402 module level import not at top proxy.ProxyFactory = ProxyFactory diff --git a/src/zope/security/decorator.py b/src/zope/security/decorator.py index dfd6fc7..0f9f2f4 100644 --- a/src/zope/security/decorator.py +++ b/src/zope/security/decorator.py @@ -74,6 +74,6 @@ class DecoratorBase(SpecificationDecoratorBase, SecurityCheckerDecoratorBase): # location proxy from here. # This is the only sane place we found for doing it: it kicks in as soon # as someone starts using security proxies. -import zope.location.location +import zope.location.location # noqa: E402 module level import not at top zope.location.location.LocationProxy.__Security_checker__ = ( DecoratedSecurityCheckerDescriptor()) |