refactor: Move logging.py to main module to avoid circular import issues

This commit is contained in:
Cristian 2020-07-17 18:00:04 -05:00
parent f449e58239
commit f4d1b5121e
29 changed files with 35 additions and 35 deletions

View file

@ -110,7 +110,7 @@ def main(args: Optional[List[str]]=NotProvided, stdin: Optional[IO]=NotProvided,
command.subcommand = 'version'
if command.subcommand not in ('help', 'version', 'status'):
from ..cli.logging import log_cli_command
from ..logging import log_cli_command
log_cli_command(
subcommand=command.subcommand,