mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
Fix ordering of <exports> in API description file
* docs/apibuild.py: Make uniq() function sort keys before returning them to ensure consitent ordering of <exports> in XML file
This commit is contained in:
parent
e22f2f5c9c
commit
e2b8f981c4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user