Remove iteritems from portage module for python3

This commit is contained in:
Toshio Kuratomi 2016-11-29 01:26:30 -08:00 committed by Matt Clay
parent e95641f371
commit 82475637ef

View file

@ -302,7 +302,7 @@ def emerge_packages(module, packages):
'usepkg': '--usepkg',
'keepgoing': '--keep-going',
}
for flag, arg in emerge_flags.iteritems():
for flag, arg in emerge_flags.items():
if p[flag]:
args.append(arg)
@ -314,7 +314,7 @@ def emerge_packages(module, packages):
'loadavg': '--load-average ',
}
for flag, arg in emerge_flags.iteritems():
for flag, arg in emerge_flags.items():
if p[flag] is not None:
args.append(arg + str(p[flag]))