[Checkins] SVN: zope.security/trunk/src/zope/security/proxy.py	import of zope.location is also only needed for monkey-patch,	so move it down to the patch itself.
    Dan Korostelev 
    nadako at gmail.com
       
    Mon Mar  9 12:19:11 EDT 2009
    
    
  
Log message for revision 97709:
  import of zope.location is also only needed for monkey-patch, so move it down to the patch itself.
Changed:
  U   zope.security/trunk/src/zope/security/proxy.py
-=-
Modified: zope.security/trunk/src/zope/security/proxy.py
===================================================================
--- zope.security/trunk/src/zope/security/proxy.py	2009-03-09 16:10:49 UTC (rev 97708)
+++ zope.security/trunk/src/zope/security/proxy.py	2009-03-09 16:19:10 UTC (rev 97709)
@@ -17,7 +17,6 @@
 """
 __docformat__ = 'restructuredtext'
 
-import zope.location.location
 from zope.security._proxy import getChecker, getObject
 from zope.security._proxy import _Proxy as Proxy
 
@@ -79,6 +78,7 @@
 # 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
 from zope.security.decorator import DecoratedSecurityCheckerDescriptor
 zope.location.location.LocationProxy.__Security_checker__ = (
     DecoratedSecurityCheckerDescriptor())
    
    
More information about the Checkins
mailing list