Skip to content

Commit e590597

Browse files
committed
Trivial: Remove useless return from files in network
Change-Id: Ib871fbde7c7140eca875403332ad5ab65a7e940d
1 parent 251939f commit e590597

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

openstackclient/network/v2/network.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def take_action(self, parsed_args):
132132
for network in parsed_args.network:
133133
obj = client.find_network(network)
134134
client.delete_network(obj)
135-
return
136135

137136

138137
class ListNetwork(lister.Lister):
@@ -271,7 +270,6 @@ def take_action(self, parsed_args):
271270
raise exceptions.CommandError(msg)
272271

273272
client.update_network(obj)
274-
return
275273

276274

277275
class ShowNetwork(show.ShowOne):

openstackclient/network/v2/router.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def take_action(self, parsed_args):
146146
for router in parsed_args.router:
147147
obj = client.find_router(router)
148148
client.delete_router(obj)
149-
return
150149

151150

152151
class ListRouter(lister.Lister):

0 commit comments

Comments
 (0)