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
@ -26,18 +26,24 @@ class ListNetworkServiceProvider(command.Lister):
|
|||||||
client = self.app.client_manager.network
|
client = self.app.client_manager.network
|
||||||
|
|
||||||
columns = (
|
columns = (
|
||||||
'service_type',
|
"service_type",
|
||||||
'name',
|
"name",
|
||||||
'is_default',
|
"is_default",
|
||||||
)
|
)
|
||||||
column_headers = (
|
column_headers = (
|
||||||
'Service Type',
|
"Service Type",
|
||||||
'Name',
|
"Name",
|
||||||
'Default',
|
"Default",
|
||||||
)
|
)
|
||||||
|
|
||||||
data = client.service_providers()
|
data = client.service_providers()
|
||||||
return(column_headers,
|
return (
|
||||||
(utils.get_item_properties(
|
column_headers,
|
||||||
s, columns,
|
(
|
||||||
) for s in data))
|
utils.get_item_properties(
|
||||||
|
s,
|
||||||
|
columns,
|
||||||
|
)
|
||||||
|
for s in data
|
||||||
|
),
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user