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
This commit is contained in:
parent
2f0bc19f36
commit
ff9d30f938
@ -16,7 +16,6 @@
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from openstack import exceptions as os_exceptions
|
from openstack import exceptions as os_exceptions
|
||||||
from openstack.network import network_service
|
|
||||||
from openstack import resource
|
from openstack import resource
|
||||||
from openstackclient.i18n import _
|
from openstackclient.i18n import _
|
||||||
from osc_lib.command import command
|
from osc_lib.command import command
|
||||||
@ -30,7 +29,6 @@ class ProjectPluginMap(resource.Resource):
|
|||||||
resource_key = 'project_plugin_map'
|
resource_key = 'project_plugin_map'
|
||||||
resources_key = 'project_plugin_maps'
|
resources_key = 'project_plugin_maps'
|
||||||
base_path = '/project-plugin-maps'
|
base_path = '/project-plugin-maps'
|
||||||
service = network_service.NetworkService()
|
|
||||||
|
|
||||||
# capabilities
|
# capabilities
|
||||||
allow_create = True
|
allow_create = True
|
||||||
|
Loading…
Reference in New Issue
Block a user