Revision 9986e569 kamaki/cli/argument.py
b/kamaki/cli/argument.py | ||
---|---|---|
34 | 34 |
from kamaki.cli.config import Config |
35 | 35 |
from kamaki.cli.errors import CLISyntaxError, raiseCLIError |
36 | 36 |
from kamaki.cli.utils import split_input |
37 |
from logging import getLogger
|
|
37 |
from kamaki.logger import get_logger
|
|
38 | 38 |
from datetime import datetime as dtm |
39 | 39 |
from time import mktime |
40 | 40 |
|
... | ... | |
52 | 52 |
# progress not installed - pls, pip install progress |
53 | 53 |
pass |
54 | 54 |
|
55 |
kloger = getLogger('kamaki')
|
|
55 |
log = get_logger('kamaki.cli')
|
|
56 | 56 |
|
57 | 57 |
|
58 | 58 |
class Argument(object): |
... | ... | |
354 | 354 |
try: |
355 | 355 |
KamakiProgressBar |
356 | 356 |
except NameError: |
357 |
kloger.debug('WARNING: no progress bar functionality')
|
|
357 |
log.debug('WARNING: no progress bar functionality')
|
|
358 | 358 |
|
359 | 359 |
def clone(self): |
360 | 360 |
"""Get a modifiable copy of this bar""" |
Also available in: Unified diff