cli: Excise `cros_logging` module
Remove all usages of `cros_logging` in chromite/cli and replace them
with the stdlib `logging` module. The NOTICE level is already provided by
the custom Logger subclass initialized in chromite's top level module __init__.py
Update isort.cfg to allow imports from the `abc` and `collections.abc`
modules to be on a single line.
This change was made by finding all imports of `cros_logging` and
replacing those usages with stdlib `logging` and then running `isort`
over all modified files.
BUG=b:191490453
TEST=`run_tests`
Change-Id: I548b33864f4ab9e12fe2b0d57aa24747d0bd5827
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3044339
Tested-by: Chris McDonald <cjmcdonald@chromium.org>
Commit-Queue: Chris McDonald <cjmcdonald@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Alex Klein <saklein@chromium.org>
diff --git a/cli/flash.py b/cli/flash.py
index 50c7bb4..e6ebff1 100644
--- a/cli/flash.py
+++ b/cli/flash.py
@@ -6,16 +6,15 @@
from __future__ import division
+import logging
import os
import re
import shutil
from chromite.cli import device_imager
from chromite.cli.cros import cros_chrome_sdk
-
from chromite.lib import commandline
from chromite.lib import cros_build_lib
-from chromite.lib import cros_logging as logging
from chromite.lib import dev_server_wrapper as ds_wrapper
from chromite.lib import operation
from chromite.lib import osutils