aboutsummaryrefslogtreecommitdiffstats
path: root/pylog/onaplogging/mdcContext.py
diff options
context:
space:
mode:
authorliangke <lokyse@163.com>2019-02-12 10:32:58 +0800
committerliangke <lokyse@163.com>2019-02-13 13:23:27 +0800
commit5cdc91baca81a39fcf979d996948779a1ff98e1e (patch)
tree3fb9b023d6c8b92809445df2f8c24a7dd6419cfa /pylog/onaplogging/mdcContext.py
parent202232feac43c7b04dd311610e1a8b640af01675 (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/mdcContext.py')
-rw-r--r--pylog/onaplogging/mdcContext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylog/onaplogging/mdcContext.py b/pylog/onaplogging/mdcContext.py
index 4fdc99c..cecf8fe 100644
--- a/pylog/onaplogging/mdcContext.py
+++ b/pylog/onaplogging/mdcContext.py
@@ -91,7 +91,7 @@ def _getmdcs(extra=None):
for key in extra:
# make sure extra key dosen't override mdckey
if key in mdc or key == 'mdc':
- raise KeyError("Attempt to overwrite %r in MDC" % key)
+ raise KeyError("Attempt to overwrite %r in MDC" % key)
else:
extra = {}