[PATCH] parsemail.sh: don't set the python version

Ali Alnubani alialnu at mellanox.com
Wed Jun 6 23:11:54 AEST 2018


This is to fix using the wrong python
version when inside a virtualenv.

Signed-off-by: Ali Alnubani <alialnu at mellanox.com>
---
 patchwork/bin/parsemail.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchwork/bin/parsemail.sh b/patchwork/bin/parsemail.sh
index a742f60..c9c9b6a 100755
--- a/patchwork/bin/parsemail.sh
+++ b/patchwork/bin/parsemail.sh
@@ -23,7 +23,7 @@ BIN_DIR=$(dirname "$0")
 PATCHWORK_BASE=$(readlink -e "$BIN_DIR/../..")
 
 if [ -z "$PW_PYTHON" ]; then
-    PW_PYTHON=python2
+    PW_PYTHON=python
 fi
 
 if [ -z "$DJANGO_SETTINGS_MODULE" ]; then
-- 
2.11.0



More information about the Patchwork mailing list