Permalink
Browse files

fix doc string lost in wrapper

  • Loading branch information...
sunng87 committed Apr 12, 2011
1 parent 3e5e780 commit f5f7b429c62d5a0331b9f88ae488e3d6012b8d9f
Showing with 1 addition and 0 deletions.
  1. +1 −0 jip/commands.py
View
@@ -31,6 +31,7 @@ def wrapper(*args, **kwargs):
func(*args, **kwargs)
## register in command dictionary
commands[func.__name__] = wrapper
+ wrapper.__doc__ = func.__doc__
return wrapper
def _install(*artifacts):

0 comments on commit f5f7b42

Please sign in to comment.