remove reference to swarming_client

Python client is deprecated.

Bug: chromium:984869
Change-Id: I6b8f959d3c7d2de0d214cd07aeabfbf54c35c53b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229960
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Cr-Commit-Position: refs/heads/main@{#34834}
This commit is contained in:
Takuto Ikuta
2021-08-24 14:06:33 +09:00
committed by WebRTC LUCI CQ
parent 2eb465fc7b
commit 2285135bc9
2 changed files with 1 additions and 8 deletions

2
DEPS
View File

@ -272,8 +272,6 @@ deps = {
},
'src/tools':
'https://chromium.googlesource.com/chromium/src/tools@7fedcd5492f8cab7e7dda3389985625894d0071a',
'src/tools/swarming_client':
'https://chromium.googlesource.com/infra/luci/client-py.git@a32a1607f6093d338f756c7e7c7b4333b0c50c9c',
'src/third_party/accessibility_test_framework': {
'packages': [

View File

@ -364,12 +364,7 @@ class MetaBuildWrapper(object):
if out:
self.Print(out, end='')
if err:
# The swarming client will return an exit code of 2 (via
# argparse.ArgumentParser.error()) and print a message to indicate
# that auth failed, so we have to parse the message to check.
if (ret == 2 and 'Please login to' in err):
err = err.replace(' auth.py', ' tools/swarming_client/auth.py')
self.Print(err, end='', file=sys.stderr)
self.Print(err, end='', file=sys.stderr)
return ret