[libvirt] [PATCH] docs: Fix apibuild.py syntax

John Ferlan jferlan at redhat.com
Thu Mar 15 21:13:36 UTC 2018


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 at redhat.com>
---

 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




More information about the libvir-list mailing list