From 09e0beb66fc9a62fb507f764437b5c07866254a1 Mon Sep 17 00:00:00 2001 From: Gregory Thiemonge Date: Wed, 19 Apr 2023 10:55:39 +0200 Subject: [PATCH] Fix pep8 error new flake8 issue: - E275 missing whitespace after keyword Change-Id: I4dd4e7dabe71d0a81eaba9bdad6969911a395429 (cherry picked from commit 6e7ce65ce6b5eeb3f23d562c32ff8f3c5e00bb8d) (cherry picked from commit c940f7a064b2a49eab797379f548fce1f41f9e78) (cherry picked from commit ba0c244df25d408f6a4581217ce5ef5c8ab46d6c) --- octavia/hacking/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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