]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: apibuild: Fix for python 2.6
authorPeter Krempa <pkrempa@redhat.com>
Fri, 22 Apr 2016 08:08:56 +0000 (10:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Apr 2016 08:14:13 +0000 (10:14 +0200)
Ancient python didn't like the new list added in 99283874. Convert it to
a dict.

docs/apibuild.py

index 9c82c4a5e8afcef5ab2836445db04e80d8804699..888275900b4c1b9f4d490c7e3463ad6d7316adf2 100755 (executable)
@@ -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):