Merge "Replace six.iteritems() with .items()"
This commit is contained in:
commit
e881c18880
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue