mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 13:41:31 +00:00
Remove deprecated argument
This commit is contained in:
parent
ffe512776a
commit
810f6d5297
@ -108,7 +108,7 @@ class TFWLogFormatter(Formatter):
|
|||||||
|
|
||||||
def trim(self, value):
|
def trim(self, value):
|
||||||
if isinstance(value, dict):
|
if isinstance(value, dict):
|
||||||
return {k: self.trim(v, True) for k, v in value.items()}
|
return {k: self.trim(v) for k, v in value.items()}
|
||||||
if isinstance(value, (int, float)):
|
if isinstance(value, (int, float)):
|
||||||
return value
|
return value
|
||||||
value_str = str(value)
|
value_str = str(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user