enable E713 in pep8 tests
This change update the code style to enable the E713 check (test for membership should be ‘not in’) Partial-Bug: 1329017 Change-Id: I96f8b734db5964ef46d0911cb5f6e0b8c33c3119
This commit is contained in:
@@ -345,7 +345,7 @@ class NeutronRestProxyV2Base(db_base_plugin_v2.NeutronDbPluginV2,
|
||||
|
||||
def _extend_port_dict_binding(self, context, port):
|
||||
cfg_vif_type = cfg.CONF.NOVA.vif_type.lower()
|
||||
if not cfg_vif_type in (portbindings.VIF_TYPE_OVS,
|
||||
if cfg_vif_type not in (portbindings.VIF_TYPE_OVS,
|
||||
portbindings.VIF_TYPE_IVS):
|
||||
LOG.warning(_("Unrecognized vif_type in configuration "
|
||||
"[%s]. Defaulting to ovs."),
|
||||
|
||||
Reference in New Issue
Block a user