[Zope-Checkins] CVS: Zope/lib/python/App - config.py:1.4.2.4
Chris McDonough
chrism at zopemafia.com
Sat Dec 20 11:53:31 EST 2003
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv28691/lib/python/App
Modified Files:
Tag: Zope-2_7-branch
config.py
Log Message:
Add a dummy dbtab attribute on the DefaultConfiguration for machinery that expects this attribute to exist.
=== Zope/lib/python/App/config.py 1.4.2.3 => 1.4.2.4 ===
--- Zope/lib/python/App/config.py:1.4.2.3 Fri Dec 19 23:44:33 2003
+++ Zope/lib/python/App/config.py Sat Dec 20 11:53:30 2003
@@ -72,11 +72,15 @@
Globals.ZOPE_HOME = cfg.zopehome
class DefaultConfiguration:
+ """
+ This configuration should be used effectively only during unit tests
+ """
def __init__(self):
from App import FindHomes
self.clienthome = FindHomes.CLIENT_HOME
self.instancehome = FindHomes.INSTANCE_HOME
self.softwarehome = FindHomes.SOFTWARE_HOME
self.zopehome = FindHomes.ZOPE_HOME
+ self.dbtab = None
self.debug_mode = True
self.enable_product_installation = True
More information about the Zope-Checkins
mailing list