You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dc...@apache.org on 2020/01/29 08:03:54 UTC

[thrift] branch master updated: Fix typo for python 3 support

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

dcelasun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new f8b0040  Fix typo for python 3 support
f8b0040 is described below

commit f8b004081da0c5006c3a0ce0352b66d2d857405e
Author: Christopher Friedt <ch...@gmail.com>
AuthorDate: Wed Jan 29 03:03:46 2020 -0500

    Fix typo for python 3 support
    
    This change simply enables the existing check in configure.ac to function as intended.
    
    Signed-off-by: Christopher Friedt <ch...@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 64283a8..f3f88a7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -325,7 +325,7 @@ AM_CONDITIONAL(WITH_TWISTED_TEST, [test "$have_trial" = "yes"])
 have_py3="no"
 AX_THRIFT_LIB(py3, [Py3], yes)
 if test "$with_py3" = "yes"; then
-  if $PYTHON --version 2>&1 | grep -q "Python 2"; then
+  if $PYTHON --version 2>&1 | grep -q "Python 3"; then
     AC_PATH_PROGS([PYTHON3], [python3 python3.7 python37 python3.6 python36 python3.5 python35 python3.4 python34])
     if test -n "$PYTHON3"; then
       have_py3="yes"