You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/02/09 08:24:31 UTC

[hbase] 01/02: HBASE-26747 Use python2 instead of python in our python scripts (#4102)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 081ea2d6ea91092d7bbbdd5187fa47f97c5abba9
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Feb 9 14:55:16 2022 +0800

    HBASE-26747 Use python2 instead of python in our python scripts (#4102)
    
    Signed-off-by: Xin Sun <dd...@gmail.com>
---
 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 d132c35..4cfdc4a 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 0b700b9..c5810be 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 328516e..f8416e0 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 d29ecfa..e2d30b0 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 0e73a57..8a24a81 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 8c52915..8d13e20 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