You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/09/04 15:30:37 UTC

[trafficserver] branch 9.0.x updated: Fix #7167, make autopep8 failure (#7168)

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

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 052b535  Fix #7167, make autopep8 failure (#7168)
052b535 is described below

commit 052b535b0066f3e009b4a1b66e060d483d25c680
Author: Zizhong Zhang <zi...@linkedin.com>
AuthorDate: Thu Sep 3 18:59:14 2020 -0700

    Fix #7167, make autopep8 failure (#7168)
    
    (cherry picked from commit 62be4defe3bf61146ea736d8012cf09275e741e2)
---
 tools/autopep8.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/autopep8.sh b/tools/autopep8.sh
index f1a02b9..76b5a1b 100755
--- a/tools/autopep8.sh
+++ b/tools/autopep8.sh
@@ -50,7 +50,7 @@ function main() {
   pip install -q "pycodestyle==${PYCODESTYLE_TAG}"
   pip install -q "autopep8==${AUTOPEP8_VERSION}"
 
-  ver=$(autopep8 --version)
+  ver=$(autopep8 --version 2>&1)
   if [ "$ver" != "$VERSION" ]
   then
       echo "Wrong version of autopep8!"