diff options
author | Nick Sanders <nsanders@chromium.org> | 2018-05-11 19:21:17 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-21 21:17:59 -0700 |
commit | 677207d5f0081a692a9b00b6b5f3807b83d427ed (patch) | |
tree | 513e46a993308666c4acdbef50012e2916e8a070 /extra | |
parent | c1f1c4c282a178a8a7ebb0e5cfd22b83fa089fdb (diff) | |
download | chrome-ec-677207d5f0081a692a9b00b6b5f3807b83d427ed.tar.gz |
servo_updater: allow local builds
Updater regex allows local build versions as well.
BRANCH=None
BUG=b:69016431
TEST=update servo v4
Change-Id: I203aefff998ef5c69434187830c27431dbcc7dee
Signed-off-by: Nick Sanders <nsanders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1066989
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/usb_updater/servo_updater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_updater/servo_updater.py b/extra/usb_updater/servo_updater.py index 68ee75d553..38c92cb68e 100755 --- a/extra/usb_updater/servo_updater.py +++ b/extra/usb_updater/servo_updater.py @@ -128,7 +128,7 @@ def do_updater_version(vidpid, iface, serialno): """ vers = do_version(vidpid, iface, serialno) - m = re.search('_v1.1.(\d\d\d\d)-', vers) + m = re.search('_v1.1.(\d\d\d\d)', vers) if m: version_number = int(m.group(1)) # Servo versions below 58 are from servo-9040.B. |