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:
parent
eaa9a43fcd
commit
5e63960698
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue