summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0/project.py
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/identity/v2_0/project.py
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/identity/v2_0/project.py')
-rw-r--r--openstackclient/identity/v2_0/project.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/openstackclient/identity/v2_0/project.py b/openstackclient/identity/v2_0/project.py
index 9e26c308..71c77623 100644
--- a/openstackclient/identity/v2_0/project.py
+++ b/openstackclient/identity/v2_0/project.py
@@ -119,7 +119,6 @@ class DeleteProject(command.Command):
project,
)
identity_client.tenants.delete(project_obj.id)
- return
class ListProject(command.Lister):
@@ -222,7 +221,6 @@ class SetProject(command.Command):
del kwargs['name']
identity_client.tenants.update(project.id, **kwargs)
- return
class ShowProject(command.ShowOne):
@@ -317,4 +315,3 @@ class UnsetProject(command.Command):
if key in kwargs:
kwargs[key] = None
identity_client.tenants.update(project.id, **kwargs)
- return