Trivial: Remove useless return from files in network
Change-Id: Ib871fbde7c7140eca875403332ad5ab65a7e940d
This commit is contained in:
parent
251939fb36
commit
e590597871
@ -132,7 +132,6 @@ class DeleteNetwork(command.Command):
|
|||||||
for network in parsed_args.network:
|
for network in parsed_args.network:
|
||||||
obj = client.find_network(network)
|
obj = client.find_network(network)
|
||||||
client.delete_network(obj)
|
client.delete_network(obj)
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
class ListNetwork(lister.Lister):
|
class ListNetwork(lister.Lister):
|
||||||
@ -271,7 +270,6 @@ class SetNetwork(command.Command):
|
|||||||
raise exceptions.CommandError(msg)
|
raise exceptions.CommandError(msg)
|
||||||
|
|
||||||
client.update_network(obj)
|
client.update_network(obj)
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
class ShowNetwork(show.ShowOne):
|
class ShowNetwork(show.ShowOne):
|
||||||
|
@ -146,7 +146,6 @@ class DeleteRouter(command.Command):
|
|||||||
for router in parsed_args.router:
|
for router in parsed_args.router:
|
||||||
obj = client.find_router(router)
|
obj = client.find_router(router)
|
||||||
client.delete_router(obj)
|
client.delete_router(obj)
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
class ListRouter(lister.Lister):
|
class ListRouter(lister.Lister):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user