Merge "Fix python3.7 unittest failure"

This commit is contained in:
Zuul 2019-08-30 07:29:31 +00:00 committed by Gerrit Code Review
commit eea4060f03
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ class ExtensionManager(object):
# is made in a whole iteration
while exts_to_process:
processed_ext_count = len(processed_exts)
for ext_name, ext in exts_to_process.items():
for ext_name, ext in list(exts_to_process.items()):
if not hasattr(ext, 'get_extended_resources'):
del exts_to_process[ext_name]
continue