Merge "Replace six.iteritems() with .items()"

This commit is contained in:
Jenkins 2017-07-11 16:32:16 +00:00 committed by Gerrit Code Review
commit e881c18880
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@
from oslo_config import cfg
from oslo_log import log
from oslo_utils import excutils
import six
import stevedore
from neutron.api.v2 import attributes
@ -177,7 +176,7 @@ class TypeManager(stevedore.named.NamedExtensionManager):
network[provider.SEGMENTATION_ID] = segment[api.SEGMENTATION_ID]
def initialize(self):
for network_type, driver in six.iteritems(self.drivers):
for network_type, driver in self.drivers.items():
LOG.info("Initializing driver for type '%s'", network_type)
driver.obj.initialize()