zope_conf in paster config can only be global
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Released
|
Medium
|
Michael Haubenwallner |
Bug Description
Michael Haubenwallner was kind enough to add zope_conf parameter to the paster config so that you can specify the location of the zope.conf. However, it only got added as a global parameter. This means that you can't specify different zope.conf for different applications. We would like grok to be able to handle different zope.conf for different applications. We have patched grok project so that it works for us and request that you roll our patch into subversion. svn diff follows signature.
Thanks,
Kim
Index: /srv/gp2/
=======
--- /srv/gp2/
+++ /srv/gp2/
@@ -5,8 +5,9 @@
import zope.app.wsgi
import zope.app.debug
-def application_
- zope_conf = os.path.
+def application_
+ conf_name = local_conf.
+ zope_conf = os.path.
return zope.app.
def interactive_
@@ -32,4 +33,4 @@
def zdaemon_
args = ['-C', zdaemon_conf] + sys.argv[1:]
- zdaemon.
\ No newline at end of file
+ zdaemon.
Changed in grok: | |
status: | New → Fix Committed |
Changed in grok: | |
status: | Fix Committed → Fix Released |
Michael, can you look into this?