|
@@ -21,7 +21,7 @@ from trac.web.main import dispatch_request |
|
|
import pkg_resources |
|
|
import pkg_resources |
|
|
|
|
|
|
|
|
def application(environ, start_request): |
|
|
def application(environ, start_request): |
|
|
environ['trac.env_path'] = '/srv/caca.zoy.org/var/lib/trac' |
|
|
|
|
|
|
|
|
environ['trac.env_path'] = '/srv/caca.zoy.org/var/lib/trac-test' |
|
|
if 'PYTHON_EGG_CACHE' not in os.environ: |
|
|
if 'PYTHON_EGG_CACHE' not in os.environ: |
|
|
pkg_resources.set_extraction_path(tempfile.gettempdir()) |
|
|
pkg_resources.set_extraction_path(tempfile.gettempdir()) |
|
|
return dispatch_request(environ, start_request) |
|
|
return dispatch_request(environ, start_request) |