Revert "default GetLuciAuth to latest SHA1 version"
This reverts commit 6b72227336706a0ba74995419d6704bc8034f114.
Reason for revert: crbug.com/874164
It appears that this CL is not correct for older branches.
Original change's description:
> default GetLuciAuth to latest SHA1 version
>
> BUG=chromium:871831
> TEST=local unit test
>
> default to latest SHA1 instead of latest to
> fix old branches.
>
> Change-Id: Ib14ec566181908a054c14f2d84b48ff5af0e76e6
> (cherry picked from commit dd861a00fcd4134f9eecddf9607dd2af067113aa)
> Reviewed-on: https://chromium-review.googlesource.com/1168202
> Reviewed-by: Gregory Meinke <gmeinke@chromium.org>
> Tested-by: Mike Frysinger <vapier@chromium.org>
> Commit-Queue: Gregory Meinke <gmeinke@chromium.org>
BUG=chromium:871831,chromium:874164
Change-Id: I3dd82f833ec4cd46dd703e460e324ed116014485
Reviewed-on: https://chromium-review.googlesource.com/1177171
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/lib/auth.py b/lib/auth.py
index fc36ccf..b8c62f6 100644
--- a/lib/auth.py
+++ b/lib/auth.py
@@ -24,18 +24,14 @@
class AccessTokenError(Exception):
"""Error accessing the token."""
-# crbug:871831 default to last sha1 version.
-def GetAuthUtil(
- instance_id='git_revision:fd059ace316e4dbcaa5afdcec9ed4a855c4f3c65'):
+def GetAuthUtil(instance_id='latest'):
"""Returns a path to the authutil binary.
This will download and install the authutil package if it is not already
deployed.
Args:
- instance_id: The instance-id of the package to install. Defaults to
- 'git_revision:fd059ace316e4dbcaa5afdcec9ed4a855c4f3c65' which is the last
- SHA1 version.
+ instance_id: The instance-id of the package to install. Defaults to 'latest'
Returns:
the path to the authutil binary.