diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2022-05-17 11:42:34 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-17 07:56:33 +0000 |
commit | 6e3ee258076879a389eb4b8f0c12be8d12e4b262 (patch) | |
tree | 2ac2a5e2924edf84a0b2a22df917dc335e027dea /util | |
parent | 54400e93a75ef440a83d6eaac2cec066daf99cf0 (diff) | |
download | chrome-ec-6e3ee258076879a389eb4b8f0c12be8d12e4b262.tar.gz |
update_release_branch: fix the cros lint error
When using the repo upload, the cros lint output the error below.
This patch fixes the error below.
Hook script "cros lint ${PRESUBMIT_FILES}" failed with code 1:
ERROR: /mnt/host/source/src/platform/ec/util/update_release_branch.py \
Imports are incorrectly sorted and/or formatted.
BUG=None
BRANCH=None
TEST=repo upload
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Change-Id: I78b617c10956081f24f81de5c7ad9e65547557e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3650296
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'util')
-rwxr-xr-x | util/update_release_branch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/update_release_branch.py b/util/update_release_branch.py index 56d895dd2d..75163db877 100755 --- a/util/update_release_branch.py +++ b/util/update_release_branch.py @@ -11,6 +11,7 @@ http://go/cros-fingerprint-firmware-branching-and-signing and now used by other boards. """ from __future__ import print_function + import argparse import os import re @@ -18,6 +19,7 @@ import subprocess import sys import textwrap + BUG_NONE_PATTERN = re.compile('none', flags=re.IGNORECASE) |