diff options
author | liangke <lokyse@163.com> | 2019-02-12 10:32:58 +0800 |
---|---|---|
committer | liangke <lokyse@163.com> | 2019-02-13 13:23:27 +0800 |
commit | 5cdc91baca81a39fcf979d996948779a1ff98e1e (patch) | |
tree | 3fb9b023d6c8b92809445df2f8c24a7dd6419cfa /pylog/onaplogging/marker | |
parent | 202232feac43c7b04dd311610e1a8b640af01675 (diff) |
upgrade pylog version
upgrade latest version of pylog to 1.0.7
fix pep8 error
use relative imports
Change-Id: I705756b0778f89fbce62559ea0f108fd35efff5e
Issue-ID: MULTICLOUD-481
Signed-off-by: liangke <lokyse@163.com>
Diffstat (limited to 'pylog/onaplogging/marker')
-rw-r--r-- | pylog/onaplogging/marker/__init__.py | 8 | ||||
-rw-r--r-- | pylog/onaplogging/marker/markerFactory.py | 2 | ||||
-rw-r--r-- | pylog/onaplogging/marker/markerFilter.py | 2 | ||||
-rw-r--r-- | pylog/onaplogging/marker/markerHandler.py | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/pylog/onaplogging/marker/__init__.py b/pylog/onaplogging/marker/__init__.py index a1b3d89..e6ef67b 100644 --- a/pylog/onaplogging/marker/__init__.py +++ b/pylog/onaplogging/marker/__init__.py @@ -14,13 +14,13 @@ from __future__ import absolute_import -from marker.marker import ( +from .marker import ( Marker, MARKER_TAG, BaseMarker, matchMarkerHelp) -from marker.markerFactory import MarkerFactory -from marker.markerHandler import MarkerNotifyHandler -from marker.markerFilter import MarkerFilter +from .markerFactory import MarkerFactory +from .markerHandler import MarkerNotifyHandler +from .markerFilter import MarkerFilter __all__ = ("Marker", "MARKER_TAG", "BaseMarker", "matchMarkerHelp", "MarkerFactory", diff --git a/pylog/onaplogging/marker/markerFactory.py b/pylog/onaplogging/marker/markerFactory.py index e7b00b9..0705235 100644 --- a/pylog/onaplogging/marker/markerFactory.py +++ b/pylog/onaplogging/marker/markerFactory.py @@ -14,7 +14,7 @@ import abc import threading -from marker import BaseMarker +from .marker import BaseMarker lock = threading.RLock() diff --git a/pylog/onaplogging/marker/markerFilter.py b/pylog/onaplogging/marker/markerFilter.py index 4ae5478..4f49884 100644 --- a/pylog/onaplogging/marker/markerFilter.py +++ b/pylog/onaplogging/marker/markerFilter.py @@ -14,7 +14,7 @@ import sys from logging import Filter -from marker import matchMarkerHelp +from .marker import matchMarkerHelp class MarkerFilter(Filter): diff --git a/pylog/onaplogging/marker/markerHandler.py b/pylog/onaplogging/marker/markerHandler.py index ca5f483..12b5488 100644 --- a/pylog/onaplogging/marker/markerHandler.py +++ b/pylog/onaplogging/marker/markerHandler.py @@ -14,7 +14,7 @@ import sys from logging.handlers import SMTPHandler -from marker import matchMarkerHelp +from .marker import matchMarkerHelp class MarkerNotifyHandler(SMTPHandler): |