[PATCH] docs: Fix apibuild.py syntax

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

 



Commit id '477502de3' altered the entry to add one too many closing
parenthesis ')' and that propagated into commit id '9176b42bd'.

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---

 Pushed as a build breaker:

  GEN      news.html
  File "./apibuild.py", line 481
    line.split())))
                  ^
SyntaxError: invalid syntax

 docs/apibuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/apibuild.py b/docs/apibuild.py
index ba359c98c..67b7eed1e 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -478,7 +478,7 @@ class CLexer:
 
             if line[0] == '#':
                 self.tokens = list(map((lambda x: ('preproc', x)),
-                                       line.split())))
+                                       line.split()))
 
                 # We might have whitespace between the '#' and preproc
                 # macro name, so instead of having a single token element
-- 
2.13.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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