diff roundup/cgi/apache.py @ 2809:353dc16a49b2

pass tracker home directory to get_translation()
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 23 Oct 2004 14:13:24 +0000
parents d45f1669599c
children 835ac4013578
line wrap: on
line diff
--- a/roundup/cgi/apache.py	Sat Oct 23 14:05:25 2004 +0000
+++ b/roundup/cgi/apache.py	Sat Oct 23 14:13:24 2004 +0000
@@ -20,8 +20,8 @@
 #                   instead of mod_python FieldStorage
 # 29-apr-2004 [als] created
 
-__version__ = "$Revision: 1.2 $"[11:-2]
-__date__ = "$Date: 2004-07-12 09:14:12 $"[7:-2]
+__version__ = "$Revision: 1.3 $"[11:-2]
+__date__ = "$Date: 2004-10-23 14:13:24 $"[7:-2]
 
 import cgi
 import os
@@ -93,7 +93,8 @@
     _env["PATH_INFO"] = req.path_info[1:]
     _form = cgi.FieldStorage(req, environ=_env)
     _client = _tracker.Client(_tracker, Request(req), _env, _form,
-        translator=TranslationService.get_translation(_lang))
+        translator=TranslationService.get_translation(_lang,
+            tracker_home=_home))
     _client.main()
     return apache.OK
 

Roundup Issue Tracker: http://roundup-tracker.org/