base.py: add functools.wraps to decorator to make func_name/__doc__ work
Merge pull request #2 from andelf/master

base.py: add functools.wraps to decorator to make func_name/__doc__ work