diff options
Diffstat (limited to 'src/python/lmi/providers/cmpi_logging.py')
-rw-r--r-- | src/python/lmi/providers/cmpi_logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/lmi/providers/cmpi_logging.py b/src/python/lmi/providers/cmpi_logging.py index dca9ac8..06c496e 100644 --- a/src/python/lmi/providers/cmpi_logging.py +++ b/src/python/lmi/providers/cmpi_logging.py @@ -23,6 +23,7 @@ under cimom. """ import logging +import functools import inspect from itertools import chain import os @@ -230,6 +231,7 @@ def _trace_function_or_method(is_method=False, frame_level=1): classname = inspect.getouterframes( inspect.currentframe())[frame_level][3] + @functools.wraps(func) def _wrapper(*args, **kwargs): """ Wrapper for function or method, that does the logging. |