summaryrefslogtreecommitdiffstats
path: root/pylog/onaplogging/mdcContext.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2020-07-02 12:34:25 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2020-07-13 08:57:03 +0000
commitb437b2c38ec0d5bb234fef0459b0e0533d08b7af (patch)
treea234cd12effde9854b77ea3ceaa6848a80a241b0 /pylog/onaplogging/mdcContext.py
parentd80e67cc8994fb0b92c8c1b5e3f51bde21b4a791 (diff)
Pylog test suite
Prepare test suite for onaplogging library. Add utils to check Python version. Issue-ID: LOG-1229 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I12c431c10f61fceaf70d5ae36581dfd5a876ef72
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 fa94536..ecdc2d9 100644
--- a/pylog/onaplogging/mdcContext.py
+++ b/pylog/onaplogging/mdcContext.py
@@ -48,7 +48,7 @@ class MDCContext(threading.local):
def remove(self, key):
- if key in self.localDict:
+ if key in self._localDict:
del self._localDict[key]
def clear(self):