From 3a6caaf11c3777d4ea1e671de92665abbd0f80e0 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 28 2019 18:55:41 +0000 Subject: Fix mod_wsgi tests in CentOS8 (python3 error: TypeError: sequence of byte string values expected, value of type str found) --- diff --git a/tests/p_mod_wsgi/mod_wsgi_test.sh b/tests/p_mod_wsgi/mod_wsgi_test.sh index 88857a3..7dc7587 100755 --- a/tests/p_mod_wsgi/mod_wsgi_test.sh +++ b/tests/p_mod_wsgi/mod_wsgi_test.sh @@ -13,11 +13,16 @@ then WSGIScriptAlias /tfapp /var/www/html/tf_app.wsgi EOF + +if [ $centos_ver -ge 8 ] +then +outputformat=b +fi cat > /var/www/html/tf_app.wsgi <