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

Jiri Denemark jdenemar at redhat.com
Fri Apr 22 10:43:20 UTC 2016


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




More information about the libvir-list mailing list