Use OrderedDict for object tracking
This makes iterating over the dict consistent on all python versions, which is important if we're extracting them for a contents list or similar. Change-Id: I1a23bfc8fd032dd545cc48302ef469006b1f7a1e
This commit is contained in:
parent
8f1cecfd74
commit
0165692e62
@ -615,7 +615,7 @@ class ZuulDomain(Domain):
|
|||||||
'layout': None,
|
'layout': None,
|
||||||
'layout_path': None,
|
'layout_path': None,
|
||||||
'role_paths': None,
|
'role_paths': None,
|
||||||
'objects': {},
|
'objects': OrderedDict(),
|
||||||
} # type: Dict[str, Dict]
|
} # type: Dict[str, Dict]
|
||||||
|
|
||||||
def resolve_xref(self, env, fromdocname, builder, type, target,
|
def resolve_xref(self, env, fromdocname, builder, type, target,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user