diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-06-20 15:33:56 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-06-20 15:33:56 +0000 |
commit | 32191193804d618d0633d4a4c31d4982e729dc13 (patch) | |
tree | 4453d81b170b9807b389003bcfb1924422eb7a7f /fs/errors.py | |
parent | 38ee8158bb71e981da6cd9233c36aa8463a8774b (diff) | |
download | pyfilesystem-32191193804d618d0633d4a4c31d4982e729dc13.tar.gz |
Fixed a few issues that had accumulated in Google Code, bumped the version up to 0.3.0
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@372 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/errors.py')
-rw-r--r-- | fs/errors.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/errors.py b/fs/errors.py index e32ee7f..82f614d 100644 --- a/fs/errors.py +++ b/fs/errors.py @@ -13,12 +13,7 @@ from fs.path import * try: from functools import wraps except ImportError: - def wraps(func): - def decorator(wfunc): - wfunc.__name__ == func.__name__ - wfunc.__doc__ == func.__doc__ - wfunc.__module__ == func.__module__ - return decorator + wraps = lambda f: lambda f: f class FSError(Exception): |