slapformat: fix setuptools static checker failing to validate code.

parent 4d8dad99
...@@ -177,8 +177,8 @@ def _getDict(obj): ...@@ -177,8 +177,8 @@ def _getDict(obj):
return obj return obj
return { return {
key: _getDict(value) key: _getDict(value) \
for key, value in dikt.iteritems() for key, value in dikt.iteritems() \
# do not attempt to serialize logger: it is both useless and recursive. # do not attempt to serialize logger: it is both useless and recursive.
if not isinstance(value, logging.Logger) 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