comparison MoinMoin/action/AttachFile.py @ 3164:c25bc6e9ad61

i18n.getText: removing wrong (old) kw arguments from _() calls
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 02 Mar 2008 02:10:28 +0100
parents 719c5bf80150
children a654cf294f4e
comparison
equal deleted inserted replaced
3163:1662ed80fbae 3164:c25bc6e9ad61
526 do = request.form.get('do', ['upload_form']) 526 do = request.form.get('do', ['upload_form'])
527 handler = globals().get('_do_%s' % do[0]) 527 handler = globals().get('_do_%s' % do[0])
528 if handler: 528 if handler:
529 msg = handler(pagename, request) 529 msg = handler(pagename, request)
530 else: 530 else:
531 msg = _('Unsupported AttachFile sub-action: %s', formatted=False) % (wikiutil.escape(do[0]), ) 531 msg = _('Unsupported AttachFile sub-action: %s') % (wikiutil.escape(do[0]), )
532 if msg: 532 if msg:
533 error_msg(pagename, request, msg) 533 error_msg(pagename, request, msg)
534 534
535 535
536 def _do_upload_form(pagename, request): 536 def _do_upload_form(pagename, request):