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

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

On Fri, Apr 22, 2016 at 10:20:17 +0200, Peter Krempa wrote:
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):
NACK, since you haven't pushed this yet and Michal's patch is a bit better :-) Jirka

On Fri, Apr 22, 2016 at 12:43:20 +0200, Jiri Denemark wrote:
On Fri, Apr 22, 2016 at 10:20:17 +0200, Peter Krempa wrote:
Ancient python didn't like the new list added in 99283874. Convert it to a dict. --- Pushed under the build breaker rule.
...
def escape(raw):
NACK, since you haven't pushed this yet and Michal's patch is a bit better :-)
It already was pushed prior to sending this email.
participants (2)
-
Jiri Denemark
-
Peter Krempa