From ff9d30f938fb67b88d808327eb659f1ad77f986a Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Sun, 4 Nov 2018 09:59:10 +0200 Subject: [PATCH] Fix OSC client extension initialization Commit I57c49e67f9cb285a5f5bc19ec53a42d10de9f0da changed the openstack client extensions initializion code, making the netwrok service init breaking out pep8. As it was redundent, this patch removes it. Change-Id: Ic3c496c85600a39aebcbffac8e0ff1bbf2f349f8 --- vmware_nsx/osc/v2/project_plugin_map.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/vmware_nsx/osc/v2/project_plugin_map.py b/vmware_nsx/osc/v2/project_plugin_map.py index 515acfc7b1..9eb62c9679 100644 --- a/vmware_nsx/osc/v2/project_plugin_map.py +++ b/vmware_nsx/osc/v2/project_plugin_map.py @@ -16,7 +16,6 @@ import six from openstack import exceptions as os_exceptions -from openstack.network import network_service from openstack import resource from openstackclient.i18n import _ from osc_lib.command import command @@ -30,7 +29,6 @@ class ProjectPluginMap(resource.Resource): resource_key = 'project_plugin_map' resources_key = 'project_plugin_maps' base_path = '/project-plugin-maps' - service = network_service.NetworkService() # capabilities allow_create = True