Revision 5afb968b kamaki/cli.py
b/kamaki/cli.py | ||
---|---|---|
77 | 77 |
from os.path import abspath, basename, exists |
78 | 78 |
from sys import exit, stdout, stderr |
79 | 79 |
|
80 |
try: |
|
81 |
from collections import OrderedDict |
|
82 |
except ImportError: |
|
83 |
from ordereddict import OrderedDict |
|
84 |
|
|
80 | 85 |
from colors import magenta, red, yellow |
81 | 86 |
from progress.bar import IncrementalBar |
82 | 87 |
from requests.exceptions import ConnectionError |
83 | 88 |
|
84 |
from kamaki import clients
|
|
85 |
from kamaki.config import Config
|
|
86 |
from kamaki.utils import OrderedDict, print_addresses, print_dict, print_items
|
|
89 |
from . import clients
|
|
90 |
from .config import Config |
|
91 |
from .utils import print_addresses, print_dict, print_items
|
|
87 | 92 |
|
88 | 93 |
|
89 | 94 |
_commands = OrderedDict() |
Also available in: Unified diff