diff --git a/python/helpers/pydev/pydevd_concurrency_analyser/pydevd_thread_wrappers.py b/python/helpers/pydev/pydevd_concurrency_analyser/pydevd_thread_wrappers.py index af2675137967..7d9e908a7f82 100644 --- a/python/helpers/pydev/pydevd_concurrency_analyser/pydevd_thread_wrappers.py +++ b/python/helpers/pydev/pydevd_concurrency_analyser/pydevd_thread_wrappers.py @@ -22,7 +22,10 @@ def wrap_attr(obj, attr): class ObjectWrapper(object): def __init__(self, obj): self.wrapped_object = obj - functools.update_wrapper(self, obj) + try: + functools.update_wrapper(self, obj) + except: + pass def __getattr__(self, attr): orig_attr = getattr(self.wrapped_object, attr) #.__getattribute__(attr)