Fix an Python 3 exception in build_project.py. (#4210)

This commit is contained in:
Oliver Chang 2020-07-29 13:04:59 +10:00 committed by GitHub
parent 4e2a7c07e5
commit 7bb74407dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ def get_sanitizers(project_yaml):
if isinstance(sanitizer, six.string_types):
processed_sanitizers.append(sanitizer)
elif isinstance(sanitizer, dict):
for key in sanitizer.iterkeys():
for key in sanitizer.keys():
processed_sanitizers.append(key)
return processed_sanitizers