Remove OrderedDict for tenants

Since we are now explicitly alpha-sorting tenants for display
purposes and their internal ordering for iteration is undefined,
let's remove the OrderedDict constructors from the Abide so that
it doesn't look like we expect them to be ordered.

Change-Id: If8b0a1699331bbf63b2af4e8c3eeb8dbccb21606
This commit is contained in:
James E. Blair 2021-07-21 13:37:44 -07:00
parent eaa9a43fcd
commit 5e63960698
1 changed files with 2 additions and 2 deletions

View File

@ -5436,8 +5436,8 @@ class UnparsedBranchCache(object):
class Abide(object):
def __init__(self):
self.admin_rules = OrderedDict()
self.tenants = OrderedDict()
self.admin_rules = {}
self.tenants = {}
# tenant -> project -> list(tpcs)
# The project TPCs are stored as a list as we don't check for
# duplicate projects here.