Fix py3 issues with aclissues script
This code was using the remove iteritems() call. Updated to just call items() instead. Change-Id: I29bff1a6a4e9be8e11d5411de227da0c3fa83447 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
577f76780d
commit
7cb17cc296
@ -119,10 +119,10 @@ def main(args=sys.argv[1:]):
|
|||||||
governanceyaml = os.path.join(args.governance_repo,
|
governanceyaml = os.path.join(args.governance_repo,
|
||||||
'reference', 'projects.yaml')
|
'reference', 'projects.yaml')
|
||||||
teams = yaml.load(open(governanceyaml))
|
teams = yaml.load(open(governanceyaml))
|
||||||
for tname, team in teams.iteritems():
|
for tname, team in teams.items():
|
||||||
if is_a_team_exception(tname):
|
if is_a_team_exception(tname):
|
||||||
continue
|
continue
|
||||||
for dname, deliverable in team['deliverables'].iteritems():
|
for dname, deliverable in team['deliverables'].items():
|
||||||
for repo in deliverable.get('repos'):
|
for repo in deliverable.get('repos'):
|
||||||
if not is_a_repo_exception(repo):
|
if not is_a_repo_exception(repo):
|
||||||
aclpath = os.path.join(aclbase, acl[repo])
|
aclpath = os.path.join(aclbase, acl[repo])
|
||||||
|
Loading…
Reference in New Issue
Block a user