[libvirt] [PATCH] docs: apibuild: Fix for python 2.6

Peter Krempa pkrempa at redhat.com
Fri Apr 22 08:20:17 UTC 2016


Ancient python didn't like the new list added in 99283874. Convert it to
a dict.
---
Pushed under the build breaker rule.


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

diff --git a/docs/apibuild.py b/docs/apibuild.py
index 9c82c4a..8882759 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -114,8 +114,8 @@ ignored_macros = {

 # macros that should be completely skipped
 hidden_macros = {
-  "VIR_DEPRECATED", # internal macro to mark deprecated apis
-  "VIR_EXPORT_VAR", # internal macro to mark exported vars
+  "VIR_DEPRECATED": "internal macro to mark deprecated apis",
+  "VIR_EXPORT_VAR": "internal macro to mark exported vars",
 }

 def escape(raw):
-- 
2.8.1




More information about the libvir-list mailing list