Update module import order

Change-Id: Iecfdb243c120fdf19f4980ef7c2102a6e20d7b9b
This commit is contained in:
cao.yuan 2019-07-18 17:04:30 +08:00
parent 62c9fe8209
commit 583abab356
10 changed files with 31 additions and 29 deletions

View File

@ -11,11 +11,11 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import kolla_cli.i18n as u
from kolla_cli.api.job import Job
from kolla_cli.common.ansible import actions
from kolla_cli.common.utils import check_arg
import kolla_cli.i18n as u
class CertificateApi(object):

View File

@ -11,15 +11,15 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import logging
import traceback
import kolla_cli.i18n as u
from cliff.command import Command
from kolla_cli.api.client import ClientApi
from kolla_cli.commands.exceptions import CommandError
import kolla_cli.i18n as u
CLIENT = ClientApi()
LOG = logging.getLogger(__name__)

View File

@ -11,6 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Exception definitions."""
import kolla_cli.i18n as u

View File

@ -11,18 +11,17 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import traceback
import kolla_cli.i18n as u
from cliff.command import Command
from cliff.lister import Lister
from kolla_cli.api.client import ClientApi
from kolla_cli.api.exceptions import ClientException
from kolla_cli.commands.exceptions import CommandError
from kolla_cli.common.utils import convert_lists_to_string
from cliff.command import Command
from cliff.lister import Lister
import kolla_cli.i18n as u
CLIENT = ClientApi()

View File

@ -11,6 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import argparse
import getpass
import logging
@ -18,18 +19,16 @@ import os
import traceback
import yaml
import kolla_cli.i18n as u
from cliff.command import Command
from cliff.lister import Lister
from six.moves import input
from kolla_cli.api.client import ClientApi
from kolla_cli.api.exceptions import ClientException
from kolla_cli.commands.exceptions import CommandError
from kolla_cli.common.utils import convert_lists_to_string
from kolla_cli.common.utils import get_setup_user
from cliff.command import Command
from cliff.lister import Lister
from six.moves import input
import kolla_cli.i18n as u
LOG = logging.getLogger(__name__)
CLIENT = ClientApi()

View File

@ -15,12 +15,12 @@
import logging
import traceback
from cliff.command import Command
from kolla_cli.api.client import ClientApi
from kolla_cli.commands.exceptions import CommandError
import kolla_cli.i18n as u
from cliff.command import Command
LOG = logging.getLogger(__name__)
CLIENT = ClientApi()

View File

@ -11,18 +11,18 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import argparse
import getpass
import os
import traceback
import kolla_cli.i18n as u
from cliff.command import Command
from cliff.lister import Lister
from kolla_cli.api.client import ClientApi
from kolla_cli.commands.exceptions import CommandError
import kolla_cli.i18n as u
CLIENT = ClientApi()

View File

@ -11,16 +11,16 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import traceback
import kolla_cli.i18n as u
from cliff.command import Command
from cliff.lister import Lister
from kolla_cli.api.client import ClientApi
from kolla_cli.commands.exceptions import CommandError
from kolla_cli.common import utils
from cliff.command import Command
from cliff.lister import Lister
import kolla_cli.i18n as u
CLIENT = ClientApi()

View File

@ -11,17 +11,17 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import traceback
import kolla_cli.i18n as u
from cliff.command import Command
from cliff.lister import Lister
from kolla_cli.api.client import ClientApi
from kolla_cli.api.exceptions import ClientException
from kolla_cli.commands.exceptions import CommandError
from kolla_cli.common.utils import convert_lists_to_string
from cliff.command import Command
from cliff.lister import Lister
import kolla_cli.i18n as u
CLIENT = ClientApi()

View File

@ -11,13 +11,16 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from cliff.command import Command
from kolla_cli.api.client import ClientApi
import kolla_cli.i18n as u
import logging
import tempfile
import traceback
from cliff.command import Command
from kolla_cli.api.client import ClientApi
import kolla_cli.i18n as u
LOG = logging.getLogger(__name__)
CLIENT = ClientApi()