Removed dict.iteritems() in several other files.

This is for py3 compatibility #18506
This commit is contained in:
Andrea Tartaglia 2016-12-13 15:47:08 +00:00 committed by Toshio Kuratomi
commit 59227d8c31
13 changed files with 31 additions and 31 deletions

View file

@ -201,7 +201,7 @@ class NSoTInventory(object):
_inventory_group()
'''
inventory = dict()
for group, contents in self.config.iteritems():
for group, contents in self.config.items():
group_response = self._inventory_group(group, contents)
inventory.update(group_response)
inventory.update({'_meta': self._meta})