From: Daniel P. Berrange Date: Fri, 2 Oct 2009 11:17:18 +0000 (+0100) Subject: Fix ordering of in API description file X-Git-Tag: v0.7.2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2b8f981c4ead65721cc001fdaa5cca04f743abf;p=thirdparty%2Flibvirt.git Fix ordering of in API description file * docs/apibuild.py: Make uniq() function sort keys before returning them to ensure consitent ordering of in XML file --- diff --git a/docs/apibuild.py b/docs/apibuild.py index b00619fc26..c5257f3813 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -55,7 +55,9 @@ def uniq(items): d = {} for item in items: d[item]=1 - return d.keys() + k = d.keys() + k.sort() + return k class identifier: def __init__(self, name, header=None, module=None, type=None, lineno = 0,