commit | 9262943c563406d41908693d0db6ff2a219be764 | [log] [tgz] |
---|---|---|
author | Masayuki Igawa <masayuki.igawa@gmail.com> | Thu Jun 09 12:28:09 2016 +0900 |
committer | Masayuki Igawa <masayuki.igawa@gmail.com> | Thu Jun 09 13:20:18 2016 +0900 |
tree | f70ef5bfe23edb08a152a1246c756bdc96b84dda | |
parent | 7ae7403e473c14479c1ca548d742de245f0ed5b7 [diff] [blame] |
Remove unused return value from take_action This commit removes return values from take_action(). Because they are unused in cliff[1] and to prevent developers misunderstanding. [1] http://git.openstack.org/cgit/openstack/cliff/tree/cliff/command.py#n55 Change-Id: I1a81e163acae17005f49decb8cb7ffee52944d26
diff --git a/tempest/cmd/account_generator.py b/tempest/cmd/account_generator.py index 249261b..9e1d391 100755 --- a/tempest/cmd/account_generator.py +++ b/tempest/cmd/account_generator.py
@@ -277,12 +277,11 @@ def take_action(self, parsed_args): try: - return main(parsed_args) + main(parsed_args) except Exception: LOG.exception("Failure generating test accounts.") traceback.print_exc() raise - return 0 def get_description(self): return DESCRIPTION