mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Fix pep issue in the network service provider
pep gods started complaining (correctfully) about spacing in the old command. Apply `black -l 79` on the file to make it looking nice and passing checks. Change-Id: I716f6a1496fc552b32809c7eb744283f3a3cd5a4
This commit is contained in:
parent
16c78fef15
commit
a675c61e46
1 changed files with 16 additions and 10 deletions
|
|
@ -26,18 +26,24 @@ class ListNetworkServiceProvider(command.Lister):
|
|||
client = self.app.client_manager.network
|
||||
|
||||
columns = (
|
||||
'service_type',
|
||||
'name',
|
||||
'is_default',
|
||||
"service_type",
|
||||
"name",
|
||||
"is_default",
|
||||
)
|
||||
column_headers = (
|
||||
'Service Type',
|
||||
'Name',
|
||||
'Default',
|
||||
"Service Type",
|
||||
"Name",
|
||||
"Default",
|
||||
)
|
||||
|
||||
data = client.service_providers()
|
||||
return(column_headers,
|
||||
(utils.get_item_properties(
|
||||
s, columns,
|
||||
) for s in data))
|
||||
return (
|
||||
column_headers,
|
||||
(
|
||||
utils.get_item_properties(
|
||||
s,
|
||||
columns,
|
||||
)
|
||||
for s in data
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue