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
|
||||
|
||||
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…
x
Reference in New Issue
Block a user