From fc24f37ae28e1b7f6b9587a8062a314d660a0136 Mon Sep 17 00:00:00 2001 From: Tang Chen Date: Mon, 7 Mar 2016 17:54:06 +0800 Subject: Trivial: Remove useless return If a function returns nothing, do not add return in the end. Change-Id: I298b8717462f68d3076a1619d674775be2a94c42 --- openstackclient/network/v2/network.py | 1 - openstackclient/network/v2/security_group.py | 1 - 2 files changed, 2 deletions(-) (limited to 'openstackclient/network') 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( -- cgit v1.2.1