i18n: Fix internationalization of command help.

This commit is contained in:
Valentin Lorentz 2014-05-31 14:53:15 +02:00
parent a51b69d125
commit 483e786cde
1 changed files with 1 additions and 0 deletions

View File

@ -1084,6 +1084,7 @@ def _wrap(f, specList=[], name=None, checkDoc=True, **kw):
'function ;)')
raise
newf2 = utils.python.changeFunctionName(newf, name, f.__doc__)
newf2.__module__ = f.__module__
return internationalizeDocstring(newf2)
def wrap(f, *args, **kwargs):