Remove the functools.wraps because we don't strictly wrap, just proxy.

This commit is contained in:
Mike Auty
2018-11-28 16:24:00 +00:00
parent 44592c63ca
commit 1f0888cf19
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ def class_subclasses(cls: T) -> typing.Generator[T, None, None]:
def import_files(base_module, ignore_errors = False) -> typing.List[str]:
"""Imports all plugins present under plugins path"""
"""Imports all plugins present under plugins module namespace"""
failures = []
if not isinstance(base_module.__path__, list):
raise TypeError("[base_module].__path__ must be a list of paths")
@@ -128,7 +128,6 @@ class Context(interfaces.context.ContextInterface):
def get_module_wrapper(method: str) -> typing.Callable:
"""Returns a symbol using the symbol_table_name of the Module"""
@functools.wraps
def wrapper(self, name: str) -> typing.Callable:
self._check_type(name, str)
if constants.BANG in name: