[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/Sessions/__init__.py Sync w/ trunk.
Tres Seaver
tseaver at palladion.com
Sun May 2 11:46:31 EDT 2010
Log message for revision 111866:
Sync w/ trunk.
Changed:
U Zope/branches/2.12/src/Products/Sessions/__init__.py
-=-
Modified: Zope/branches/2.12/src/Products/Sessions/__init__.py
===================================================================
--- Zope/branches/2.12/src/Products/Sessions/__init__.py 2010-05-02 15:46:28 UTC (rev 111865)
+++ Zope/branches/2.12/src/Products/Sessions/__init__.py 2010-05-02 15:46:31 UTC (rev 111866)
@@ -12,6 +12,8 @@
##############################################################################
""" Session initialization routines
"""
+from Products.Sessions.interfaces import BrowserIdManagerErr #BBB
+from Products.Sessions.interfaces import SessionDataManagerErr #BBB
def initialize(context):
@@ -36,6 +38,7 @@
context.registerHelp()
context.registerHelpTitle("Zope Help")
+
# do module security declarations so folks can use some of the
# module-level stuff in PythonScripts
#
@@ -47,9 +50,14 @@
security.declarePublic('Sessions')
security.declarePublic('Transience')
+ security = ModuleSecurityInfo('Products.Sessions.interfaces')
+ security.declareObjectPublic()
+ security.setDefaultAccess('allow')
+
+ security = ModuleSecurityInfo('Products.Transience')
+ security.declarePublic('MaxTransientObjectsExceeded')
+
+ #BBB for names which should be imported from Products.Sessions.interfaces
security = ModuleSecurityInfo('Products.Sessions')
security.declarePublic('BrowserIdManagerErr')
security.declarePublic('SessionDataManagerErr')
-
- security = ModuleSecurityInfo('Products.Transience')
- security.declarePublic('MaxTransientObjectsExceeded')
More information about the Zope-Checkins
mailing list