We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 649831e commit 595dcb7Copy full SHA for 595dcb7
ietf/utils/log.py
@@ -62,7 +62,7 @@ def _flushfunc():
62
pass
63
_logfunc = logfunc
64
if settings.SERVER_MODE == 'test':
65
- if settings.get('show_logging', False) is True:
+ if getattr(settings, 'show_logging', False) is True:
66
_logfunc = debug.say
67
_flushfunc = sys.stdout.flush # pyflakes:ignore (intentional redefinition)
68
else:
0 commit comments