[libvirt PATCH] scripts: apibuild: fix spacing

Ján Tomko jtomko at redhat.com
Tue Sep 21 16:05:43 UTC 2021


Syntax check reports:
E226 missing whitespace around arithmetic operator

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
Pushed.

 scripts/apibuild.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/apibuild.py b/scripts/apibuild.py
index 722fd33f0e..9b29466e1d 100755
--- a/scripts/apibuild.py
+++ b/scripts/apibuild.py
@@ -604,10 +604,10 @@ class CLexer:
                         continue
 
                     j = i
-                    while (j + 1) < nline and line[j+1] in "+-*><=/%&!|":
+                    while (j + 1) < nline and line[j + 1] in "+-*><=/%&!|":
                         j = j + 1
 
-                    self.tokens.append(('op', line[i:j+1]))
+                    self.tokens.append(('op', line[i:j + 1]))
                     i = j + 1
                     continue
                 s = i
-- 
2.31.1




More information about the libvir-list mailing list