Skip to content

Commit 5af880f

Browse files
author
Alexander Smishlajev
committed
pass tracker home directory to get_translation()
1 parent fc003ee commit 5af880f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

roundup/cgi/apache.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# instead of mod_python FieldStorage
2121
# 29-apr-2004 [als] created
2222

23-
__version__ = "$Revision: 1.2 $"[11:-2]
24-
__date__ = "$Date: 2004-07-12 09:14:12 $"[7:-2]
23+
__version__ = "$Revision: 1.3 $"[11:-2]
24+
__date__ = "$Date: 2004-10-23 14:13:24 $"[7:-2]
2525

2626
import cgi
2727
import os
@@ -93,7 +93,8 @@ def handler(req):
9393
_env["PATH_INFO"] = req.path_info[1:]
9494
_form = cgi.FieldStorage(req, environ=_env)
9595
_client = _tracker.Client(_tracker, Request(req), _env, _form,
96-
translator=TranslationService.get_translation(_lang))
96+
translator=TranslationService.get_translation(_lang,
97+
tracker_home=_home))
9798
_client.main()
9899
return apache.OK
99100

0 commit comments

Comments
 (0)