From b437b2c38ec0d5bb234fef0459b0e0533d08b7af Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Thu, 2 Jul 2020 12:34:25 +0000 Subject: Pylog test suite Prepare test suite for onaplogging library. Add utils to check Python version. Issue-ID: LOG-1229 Signed-off-by: Michal Jagiello Change-Id: I12c431c10f61fceaf70d5ae36581dfd5a876ef72 --- pylog/onaplogging/mdcContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pylog/onaplogging/mdcContext.py') 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): -- cgit 1.2.3-korg