[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/appsetup/appsetup.py
whitespace, boolean
Philipp von Weitershausen
philikon at philikon.de
Mon May 24 05:44:18 EDT 2004
Log message for revision 24915:
whitespace, boolean
-=-
Modified: Zope3/trunk/src/zope/app/appsetup/appsetup.py
===================================================================
--- Zope3/trunk/src/zope/app/appsetup/appsetup.py 2004-05-23 21:04:05 UTC (rev 24914)
+++ Zope3/trunk/src/zope/app/appsetup/appsetup.py 2004-05-24 09:44:18 UTC (rev 24915)
@@ -15,12 +15,11 @@
$Id$
"""
+import zope.interface
from zope.security.interfaces import IParticipation
from zope.security.management import system_user
from zope.app.event.interfaces import IEvent
-import zope.interface
-
class IDatabaseOpenedEvent(IEvent):
"""The main database has been opened."""
@@ -44,10 +43,9 @@
principal = system_user
interaction = None
-
-_configured = 0
+_configured = False
def config(file, execute=True):
- "Configure site globals"
+ """Configure site globals"""
global _configured
if _configured:
@@ -71,6 +69,7 @@
return context
def database(db):
+ """Load ZODB database from Python module or FileStorage file"""
if type(db) is str:
# Database name
if db.endswith('.py'):
More information about the Zope3-Checkins
mailing list