From 7c7bb3f58374b3004ee7ae8be29e7f30eb6b9c60 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 1 Apr 2022 00:30:58 -0700 Subject: [PATCH] fix: use python3 instead of python in unittest.bash --- .../github.com/bazelbuild/bazel-skylib/tests/unittest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash b/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash index 3bd07c7b9d..39d315fad9 100644 --- a/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash +++ b/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash @@ -675,7 +675,7 @@ if [ "$UNAME" = "linux" ] || [[ "$UNAME" =~ msys_nt* ]]; then else function timestamp() { # OS X and FreeBSD do not have %N so python is the best we can do - python -c 'import time; print int(round(time.time() * 1000))' + python3 -c 'import time; print(int(round(time.time() * 1000)))' } fi