TrivialFix: Remove logging import unused
This patch removes logging import unused in mistralclient Change-Id: I9f1b30674ca070de44f69d8a20da3207cd0bcf6b
This commit is contained in:
		| @@ -14,9 +14,6 @@ | ||||
|  | ||||
| import copy | ||||
| import json | ||||
| import logging | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| class Resource(object): | ||||
|   | ||||
| @@ -15,15 +15,12 @@ | ||||
| # | ||||
|  | ||||
| import argparse | ||||
| import logging | ||||
|  | ||||
| from osc_lib.command import command | ||||
|  | ||||
| from mistralclient.commands.v2 import base | ||||
| from mistralclient import utils | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format_list(action=None): | ||||
|     return format(action, lister=True) | ||||
|   | ||||
| @@ -15,15 +15,12 @@ | ||||
| # | ||||
|  | ||||
| import json | ||||
| import logging | ||||
|  | ||||
| from osc_lib.command import command | ||||
|  | ||||
| from mistralclient.commands.v2 import base | ||||
| from mistralclient import utils | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format_list(trigger=None): | ||||
|     return format(trigger, lister=True) | ||||
|   | ||||
| @@ -14,15 +14,12 @@ | ||||
|  | ||||
| import argparse | ||||
| import json | ||||
| import logging | ||||
|  | ||||
| from osc_lib.command import command | ||||
|  | ||||
| from mistralclient.commands.v2 import base | ||||
| from mistralclient import utils | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format_list(environment=None): | ||||
|     columns = ( | ||||
|   | ||||
| @@ -12,14 +12,9 @@ | ||||
| #    See the License for the specific language governing permissions and | ||||
| #    limitations under the License. | ||||
|  | ||||
| import logging | ||||
|  | ||||
| from mistralclient.commands.v2 import base | ||||
|  | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format_list(service=None): | ||||
|     columns = ('Name', 'Type') | ||||
|  | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
| #    limitations under the License. | ||||
|  | ||||
| import argparse | ||||
| import logging | ||||
|  | ||||
| from osc_lib.command import command | ||||
|  | ||||
| @@ -22,9 +21,6 @@ from mistralclient.commands.v2 import base | ||||
| from mistralclient import utils | ||||
|  | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format(workbook=None): | ||||
|     columns = ( | ||||
|         'Name', | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
| #    limitations under the License. | ||||
|  | ||||
| import argparse | ||||
| import logging | ||||
|  | ||||
| from cliff import command | ||||
| from cliff import show | ||||
| @@ -23,9 +22,6 @@ from mistralclient.commands.v2 import base | ||||
| from mistralclient import utils | ||||
|  | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| def format_list(workflow=None): | ||||
|     return format(workflow, lister=True) | ||||
|  | ||||
|   | ||||
| @@ -40,8 +40,6 @@ from osc_lib.command import command | ||||
|  | ||||
| import argparse | ||||
|  | ||||
| LOG = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
| class OpenStackHelpFormatter(argparse.HelpFormatter): | ||||
|     def __init__(self, prog, indent_increment=2, max_help_position=32, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Cao Xuan Hoang
					Cao Xuan Hoang