[libvirt PATCH] scripts: apibuild: fix spacing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Syntax check reports:
E226 missing whitespace around arithmetic operator

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux