This is an array, not a hash table. It makes no problem with
newer pythons, but with python2.6 it is a problem:

    File "../../docs/apibuild.py", line 117
      "VIR_DEPRECATED", # internal macro to mark deprecated apis
                      ^
  SyntaxError: invalid syntax

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
 docs/apibuild.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/apibuild.py b/docs/apibuild.py
index 9c82c4a..d065d56 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -113,10 +113,10 @@ ignored_macros = {
 }
 
 # macros that should be completely skipped
-hidden_macros = {
+hidden_macros = [
   "VIR_DEPRECATED", # internal macro to mark deprecated apis
   "VIR_EXPORT_VAR", # internal macro to mark exported vars
-}
+]
 
 def escape(raw):
     raw = string.replace(raw, '&', '&amp;')
-- 
2.7.3

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

Reply via email to