Permalink
Browse files

Fix wrapper if method doesn't exist

  • Loading branch information...
1 parent dccb3e0 commit be4a8b38c10747c93108072c0b252efe98df12ab @jaraco committed Dec 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 paver/path.py
View
@@ -83,5 +83,7 @@ def wrapper(*args, **kwds):
for name in _METHOD_BLACKLIST:
+ if not hasattr(_orig_path, name):
+ continue
wrapper = _make_wrapper(name, getattr(_orig_path, name))
setattr(path, name, wrapper)

0 comments on commit be4a8b3

Please sign in to comment.