[Zope3-checkins] SVN: Zope3/trunk/src/zope/security/ clean imports
Bernd Dorn
bernd.dorn at lovelysystems.com
Mon Mar 26 08:50:23 EDT 2007
Log message for revision 73624:
clean imports
Changed:
U Zope3/trunk/src/zope/security/adapter.py
U Zope3/trunk/src/zope/security/decorator.py
U Zope3/trunk/src/zope/security/examples/sandbox_security.py
U Zope3/trunk/src/zope/security/interfaces.py
U Zope3/trunk/src/zope/security/proxy.py
-=-
Modified: Zope3/trunk/src/zope/security/adapter.py
===================================================================
--- Zope3/trunk/src/zope/security/adapter.py 2007-03-26 12:40:53 UTC (rev 73623)
+++ Zope3/trunk/src/zope/security/adapter.py 2007-03-26 12:50:23 UTC (rev 73624)
@@ -18,7 +18,7 @@
from zope.security.checker import ProxyFactory
from zope.security.proxy import removeSecurityProxy
-from zope.location import ILocation, Location, LocationProxy
+from zope.location import ILocation, LocationProxy
def assertLocation(adapter, parent):
"""Assert locatable adapters.
Modified: Zope3/trunk/src/zope/security/decorator.py
===================================================================
--- Zope3/trunk/src/zope/security/decorator.py 2007-03-26 12:40:53 UTC (rev 73623)
+++ Zope3/trunk/src/zope/security/decorator.py 2007-03-26 12:50:23 UTC (rev 73624)
@@ -16,7 +16,7 @@
Decorators are proxies that are mostly transparent but that may provide
additional features.
-$Id: __init__.py 66343 2006-04-03 04:59:49Z philikon $
+$Id$
"""
__docformat__ = "reStructuredText"
@@ -24,7 +24,6 @@
from zope.proxy.decorator import SpecificationDecoratorBase
from zope.security.checker import selectChecker, CombinedChecker
from zope.security.proxy import Proxy, getChecker
-from zope.interface.declarations import getObjectSpecification
from zope.interface.declarations import ObjectSpecification
class DecoratedSecurityCheckerDescriptor(object):
Modified: Zope3/trunk/src/zope/security/examples/sandbox_security.py
===================================================================
--- Zope3/trunk/src/zope/security/examples/sandbox_security.py 2007-03-26 12:40:53 UTC (rev 73623)
+++ Zope3/trunk/src/zope/security/examples/sandbox_security.py 2007-03-26 12:50:23 UTC (rev 73624)
@@ -29,7 +29,7 @@
$Id$
"""
import sandbox
-from zope.security.interfaces import ISecurityPolicy, IParticipation
+from zope.security.interfaces import IParticipation
from zope.security import checker, management, simplepolicies
from zope.interface import implements
Modified: Zope3/trunk/src/zope/security/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/security/interfaces.py 2007-03-26 12:40:53 UTC (rev 73623)
+++ Zope3/trunk/src/zope/security/interfaces.py 2007-03-26 12:50:23 UTC (rev 73624)
@@ -18,7 +18,7 @@
from zope.interface import Interface, Attribute, implements
from zope.interface.common.interfaces import IAttributeError
-from zope.schema import Text, TextLine, List
+from zope.schema import Text, TextLine
from zope.i18nmessageid import MessageFactory
_ = MessageFactory('zope')
Modified: Zope3/trunk/src/zope/security/proxy.py
===================================================================
--- Zope3/trunk/src/zope/security/proxy.py 2007-03-26 12:40:53 UTC (rev 73623)
+++ Zope3/trunk/src/zope/security/proxy.py 2007-03-26 12:50:23 UTC (rev 73624)
@@ -17,8 +17,6 @@
"""
__docformat__ = 'restructuredtext'
-from warnings import warn
-
from zope.security._proxy import getChecker, getObject
from zope.security._proxy import _Proxy as Proxy
More information about the Zope3-Checkins
mailing list