[Zope-Checkins] SVN: Zope/branches/tseaver-no_globals_imports/lib/python/AccessControl/Owned.py Add note explaining non-standard import style.
Tres Seaver
tseaver at palladion.com
Fri Dec 26 22:32:43 EST 2008
Log message for revision 94368:
Add note explaining non-standard import style.
Changed:
U Zope/branches/tseaver-no_globals_imports/lib/python/AccessControl/Owned.py
-=-
Modified: Zope/branches/tseaver-no_globals_imports/lib/python/AccessControl/Owned.py
===================================================================
--- Zope/branches/tseaver-no_globals_imports/lib/python/AccessControl/Owned.py 2008-12-27 03:27:23 UTC (rev 94367)
+++ Zope/branches/tseaver-no_globals_imports/lib/python/AccessControl/Owned.py 2008-12-27 03:32:42 UTC (rev 94368)
@@ -31,10 +31,10 @@
from AccessControl.requestmethod import requestmethod
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
+# avoid importing 'emergency_user' / 'nobody' before set
from AccessControl import SpecialUsers as SU
from AccessControl.unauthorized import Unauthorized
-
UnownableOwner=[]
def ownableFilter(self):
_owner = aq_get(self, '_owner', None, 1)
More information about the Zope-Checkins
mailing list