Skip to content

Commit a675c61

Browse files
committed
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
1 parent 16c78fe commit a675c61

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

openstackclient/network/v2/network_service_provider.py

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,24 @@ def take_action(self, parsed_args):
2626
client = self.app.client_manager.network
2727

2828
columns = (
29-
'service_type',
30-
'name',
31-
'is_default',
29+
"service_type",
30+
"name",
31+
"is_default",
3232
)
3333
column_headers = (
34-
'Service Type',
35-
'Name',
36-
'Default',
34+
"Service Type",
35+
"Name",
36+
"Default",
3737
)
3838

3939
data = client.service_providers()
40-
return(column_headers,
41-
(utils.get_item_properties(
42-
s, columns,
43-
) for s in data))
40+
return (
41+
column_headers,
42+
(
43+
utils.get_item_properties(
44+
s,
45+
columns,
46+
)
47+
for s in data
48+
),
49+
)

0 commit comments

Comments
 (0)