Merge "Replace dict.iteritems() with dict.items() for python3" into feature/zuulv3

This commit is contained in:
Jenkins 2017-05-18 16:05:22 +00:00 committed by Gerrit Code Review
commit cff8855f57
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def loadConfig(config_path):
if i.meta:
if len(i.meta) > 5 or \
any([len(k) > 255 or len(v) > 255
for k, v in i.meta.iteritems()]):
for k, v in i.meta.items()]):
# soft-fail
#self.log.error("Invalid metadata for %s; ignored"
# % i.name)