diff --git a/octavia/hacking/checks.py b/octavia/hacking/checks.py index 52070bb719..70089940b2 100644 --- a/octavia/hacking/checks.py +++ b/octavia/hacking/checks.py @@ -145,7 +145,7 @@ def no_log_warn(logical_line): O339 """ if logical_line.startswith('LOG.warn('): - yield(0, "O339:Use LOG.warning() rather than LOG.warn()") + yield (0, "O339:Use LOG.warning() rather than LOG.warn()") @core.flake8ext