Skip to content

Commit 0eef667

Browse files
author
Roey Prat
committed
RED-32089 iteritems is deprecated from python3.
(cherry picked from commit 83efe71)
1 parent 82035ed commit 0eef667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log_collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def collect_api_resources(namespace, output_dir):
139139
resources_out[resource] = run_kubectl_get(namespace, resource)
140140
logger.info(" + {}".format(resource))
141141

142-
for entry, out in resources_out.iteritems():
142+
for entry, out in resources_out.items():
143143
with open(os.path.join(output_dir, "{}.yaml".format(entry)), "w+") as fp:
144144
fp.write(out)
145145

0 commit comments

Comments
 (0)