summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbwarsaw2000-12-07 21:58:33 +0000
committerbwarsaw2000-12-07 21:58:33 +0000
commit01e06196b1571f68e9eb726ffa0a23c9c6a8751a (patch)
treed6b935c176d3e227b4e7bdf760cd9fdb67234312 /scripts
parent3c34ab2a5c025d38cdb210776111096951569a9e (diff)
downloadmailman-01e06196b1571f68e9eb726ffa0a23c9c6a8751a.tar.gz
mailman-01e06196b1571f68e9eb726ffa0a23c9c6a8751a.tar.zst
mailman-01e06196b1571f68e9eb726ffa0a23c9c6a8751a.zip
Diffstat (limited to 'scripts')
-rw-r--r--scripts/driver9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/driver b/scripts/driver
index 06cceadf0..e7882c0e6 100644
--- a/scripts/driver
+++ b/scripts/driver
@@ -79,6 +79,15 @@ def run_main():
# special one.
import Mailman.pythonlib.cgi
sys.modules['cgi'] = Mailman.pythonlib.cgi
+ #
+ # TBD: Stick the i18n translation function into the builtins. This is
+ # bogus because it's too magical, but it's also quite convenient
+ # during the i18n integration phase. This will change before the
+ # release!
+ import __builtin__
+ from Mailman.i18n import _
+ __builtin__._ = _
+ #
# The name of the module to run is passed in argv[1]. What we
# actually do is import the module named by argv[1] that lives in the
# Mailman.Cgi package. That module must have a main() function, which