From 7bb74407dc037fdc2cd373e29eff729c74ab784b Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 29 Jul 2020 13:04:59 +1000 Subject: [PATCH] Fix an Python 3 exception in build_project.py. (#4210) --- infra/gcb/build_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/gcb/build_project.py b/infra/gcb/build_project.py index 7f233c196..24b3d0afe 100644 --- a/infra/gcb/build_project.py +++ b/infra/gcb/build_project.py @@ -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