slapformat: fix setuptools static checker failing to validate code.

parent 4d8dad99
......@@ -177,8 +177,8 @@ def _getDict(obj):
return obj
return {
key: _getDict(value)
for key, value in dikt.iteritems()
key: _getDict(value) \
for key, value in dikt.iteritems() \
# do not attempt to serialize logger: it is both useless and recursive.
if not isinstance(value, logging.Logger)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment