changeset 1544:b9e4f2a88b64

mailimport: define _ to avoid crash
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 13 Sep 2006 19:10:41 +0200
parents e21280d03d57
children 97bf8559829a
files MoinMoin/mail/mailimport.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/mail/mailimport.py	Wed Sep 13 09:39:20 2006 +0200
+++ b/MoinMoin/mail/mailimport.py	Wed Sep 13 19:10:41 2006 +0200
@@ -189,6 +189,7 @@
 def import_mail_from_message(request, message):
     """ Reads a message generated by the email package and imports it
         to the wiki. """
+    _ = request.getText
     msg = process_message(message)
 
     email_subpage_template = request.cfg.mail_import_subpage_template