From 3d7430463c733e1dfcf8487ce955abd863f9f617 Mon Sep 17 00:00:00 2001 From: Mohan Muppidi Date: Sun, 28 Feb 2016 09:43:44 +0000 Subject: take_action() method from command.Command shouldn't return command.Command and command.Showone are base classes implemented in cliff framework. Showone extends Command to allow take_action() to return data to be formatted using a user-selectable formatter. Most of the classes which are extended from Command in openstackclient/identity/v3/ in some cases return data or return nothing where it is not necessary, this commit fixes most of them. Change-Id: I84c72ea4d6680f8bdbef5449316dd9a8af8c8286 Closes-Bug: 1550892 --- openstackclient/identity/v3/token.py | 1 - 1 file changed, 1 deletion(-) (limited to 'openstackclient/identity/v3/token.py') diff --git a/openstackclient/identity/v3/token.py b/openstackclient/identity/v3/token.py index 5f131939..bf039d2f 100644 --- a/openstackclient/identity/v3/token.py +++ b/openstackclient/identity/v3/token.py @@ -194,4 +194,3 @@ class RevokeToken(command.Command): identity_client = self.app.client_manager.identity identity_client.tokens.revoke_token(parsed_args.token) - return -- cgit v1.2.1