diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2020-02-13 15:51:36 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-14 08:52:40 +0000 |
commit | cbc6a9d99bdd4c7180f5e309de09039d6d9c9dbd (patch) | |
tree | 2e65a7782d8dd967641247c04cb8b45c010c9e57 /chromiumos_image_diff.py | |
parent | ac96cb3e307c7edb96b05994b9deade0978c1e78 (diff) | |
download | toolchain-utils-cbc6a9d99bdd4c7180f5e309de09039d6d9c9dbd.tar.gz |
toolchain-utils: fix cros lint and some random errors
We have enabled --py3 for cros lint and thus reveals some new linting
errors in migrated scripts. This patch fixes them and some other random
errors.
BUG=chromium:1011676
TEST=Passed unittests.
Change-Id: If129e01c21845e1b944a2b64e50e9fed7138c845
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2055972
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
Diffstat (limited to 'chromiumos_image_diff.py')
-rwxr-xr-x | chromiumos_image_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromiumos_image_diff.py b/chromiumos_image_diff.py index 66a54ccc..3d54100d 100755 --- a/chromiumos_image_diff.py +++ b/chromiumos_image_diff.py @@ -318,7 +318,7 @@ def Main(argv): for i, image_path in enumerate([options.image1, options.image2], start=1): image_path = os.path.realpath(image_path) if not os.path.isfile(image_path): - logger.getLogger().LogError('"{0}" is not a file.'.format(image_path)) + logger.GetLogger().LogError('"{0}" is not a file.'.format(image_path)) return 1 chromeos_root = None |