summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2018-09-26 07:33:10 +1000
committerIan Wienand <iwienand@redhat.com>2018-09-26 07:34:17 +1000
commit0165692e62a5e7e009b80d78c8a6099e29a4d8a7 (patch)
treec3d8ac7ac91b636dd8d0ba1a531a2bf159ad0410
parent8f1cecfd74e775f53dc3b2259f97cfdd886786f5 (diff)
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
Notes
Notes (review): Code-Review+2: James E. Blair <corvus@inaugust.com> Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Workflow+1: Tobias Henkel <tobias.henkel@bmw.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 11 Oct 2018 19:22:44 +0000 Reviewed-on: https://review.openstack.org/605240 Project: openstack-infra/zuul-sphinx Branch: refs/heads/master
-rw-r--r--zuul_sphinx/zuul.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul_sphinx/zuul.py b/zuul_sphinx/zuul.py
index 7fb3800..c9dbf01 100644
--- a/zuul_sphinx/zuul.py
+++ b/zuul_sphinx/zuul.py
@@ -615,7 +615,7 @@ class ZuulDomain(Domain):
615 'layout': None, 615 'layout': None,
616 'layout_path': None, 616 'layout_path': None,
617 'role_paths': None, 617 'role_paths': None,
618 'objects': {}, 618 'objects': OrderedDict(),
619 } # type: Dict[str, Dict] 619 } # type: Dict[str, Dict]
620 620
621 def resolve_xref(self, env, fromdocname, builder, type, target, 621 def resolve_xref(self, env, fromdocname, builder, type, target,