diff options
Diffstat (limited to 'pylog/onaplogging/markerFormatter.py')
-rw-r--r-- | pylog/onaplogging/markerFormatter.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pylog/onaplogging/markerFormatter.py b/pylog/onaplogging/markerFormatter.py index c9b0628..a322e29 100644 --- a/pylog/onaplogging/markerFormatter.py +++ b/pylog/onaplogging/markerFormatter.py @@ -14,9 +14,9 @@ import sys import logging -from marker import MARKER_TAG -from marker import Marker -from colorFormatter import BaseColorFormatter +from .marker import MARKER_TAG +from .marker import Marker +from .colorFormatter import BaseColorFormatter class MarkerFormatter(BaseColorFormatter): @@ -54,7 +54,7 @@ class MarkerFormatter(BaseColorFormatter): elif self._fmt.find(self._marker_tag) != -1 \ and not hasattr(record, MARKER_TAG): - self._fmt = self._fmt.replace(self._marker_tag, "") + self._fmt = self._fmt.replace(self._marker_tag, "") if sys.version_info > (3, 2): self._style = logging._STYLES[self.style][0](self._fmt) @@ -65,4 +65,4 @@ class MarkerFormatter(BaseColorFormatter): return BaseColorFormatter.format(self, record) finally: - self._fmt = self._tmpFmt + self._fmt = self._tmpFmt |