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