summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-03-07 17:54:06 +0800
committerTang Chen <chen.tang@easystack.cn>2016-03-07 17:54:06 +0800
commitfc24f37ae28e1b7f6b9587a8062a314d660a0136 (patch)
tree46437158c7e166f8e41a0135ad2b20dd7a38115d /openstackclient/network
parent8787ad2b49cdb1043a6c5c5b6bad10e54068aeaf (diff)
downloadpython-openstackclient-fc24f37ae28e1b7f6b9587a8062a314d660a0136.tar.gz
Trivial: Remove useless return
If a function returns nothing, do not add return in the end. Change-Id: I298b8717462f68d3076a1619d674775be2a94c42
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/network.py1
-rw-r--r--openstackclient/network/v2/security_group.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/openstackclient/network/v2/network.py b/openstackclient/network/v2/network.py
index 308e0e52..67865642 100644
--- a/openstackclient/network/v2/network.py
+++ b/openstackclient/network/v2/network.py
@@ -338,7 +338,6 @@ class SetNetwork(command.Command):
raise exceptions.CommandError(msg)
client.update_network(obj, **attrs)
- return
class ShowNetwork(common.NetworkAndComputeShowOne):
diff --git a/openstackclient/network/v2/security_group.py b/openstackclient/network/v2/security_group.py
index 9cefb420..62699ffd 100644
--- a/openstackclient/network/v2/security_group.py
+++ b/openstackclient/network/v2/security_group.py
@@ -123,7 +123,6 @@ class SetSecurityGroup(common.NetworkAndComputeCommand):
# if there were no updates. Maintain this behavior and issue
# the update.
client.update_security_group(obj, **attrs)
- return
def take_action_compute(self, client, parsed_args):
data = utils.find_resource(