From fddfceef50587e88ed971787c41dd0b9ce200347 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Wed, 9 Feb 2022 14:55:16 +0800 Subject: [PATCH] HBASE-26747 Use python2 instead of python in our python scripts (#4102) Signed-off-by: Xin Sun --- dev-support/checkcompatibility.py | 2 +- dev-support/checkstyle_report.py | 2 +- dev-support/flaky-tests/findHangingTests.py | 2 +- dev-support/flaky-tests/report-flakies.py | 2 +- dev-support/gen_redirect_html.py | 2 +- dev-support/submit-patch.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-support/checkcompatibility.py b/dev-support/checkcompatibility.py index 6061326d8de..c6cc3be9ba2 100755 --- a/dev-support/checkcompatibility.py +++ b/dev-support/checkcompatibility.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/checkstyle_report.py b/dev-support/checkstyle_report.py index 0b700b9789c..c5810be152b 100755 --- a/dev-support/checkstyle_report.py +++ b/dev-support/checkstyle_report.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/flaky-tests/findHangingTests.py b/dev-support/flaky-tests/findHangingTests.py index 328516ebf34..f8416e0a1e1 100755 --- a/dev-support/flaky-tests/findHangingTests.py +++ b/dev-support/flaky-tests/findHangingTests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/flaky-tests/report-flakies.py b/dev-support/flaky-tests/report-flakies.py index d29ecfa4da6..e2d30b0d6dc 100755 --- a/dev-support/flaky-tests/report-flakies.py +++ b/dev-support/flaky-tests/report-flakies.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/gen_redirect_html.py b/dev-support/gen_redirect_html.py index 0e73a571656..8a24a81ac65 100755 --- a/dev-support/gen_redirect_html.py +++ b/dev-support/gen_redirect_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/submit-patch.py b/dev-support/submit-patch.py index 74f95956949..b4591abf765 100755 --- a/dev-support/submit-patch.py +++ b/dev-support/submit-patch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file