##// END OF EJS Templates
extensions: copy __module__ for wrapped commands
Dirkjan Ochtman -
r7373:d9e9dd2b default
parent child Browse files
Show More
@@ -99,6 +99,7 def wrapcommand(table, command, wrapper)
99 99 return wrapper(origfn, *args, **kwargs)
100 100
101 101 wrap.__doc__ = getattr(origfn, '__doc__')
102 wrap.__module__ = getattr(origfn, '__module__')
102 103
103 104 newentry = list(entry)
104 105 newentry[0] = wrap
General Comments 0
You need to be logged in to leave comments. Login now