1. Brendan Cully
  2. mercurial/extensions/rdiff

Commits

Brendan Cully  committed 86ccf78

Backport wrapcommand fix from crew

  • Participants
  • Parent commits 662792b
  • Branches default

Comments (0)

Files changed (1)

File rdiff.py

View file
         return wrapper(origfn, *args, **kwargs)
 
     wrap.__doc__ = getattr(origfn, '__doc__')
+    wrap.__module__ = getattr(origfn, '__module__')
     if wrapper.__doc__:
         if wrapper.__doc__.startswith('\n'):
             wrap.__doc__ += wrapper.__doc__