diff mbox series

parsemail.sh: don't set the python version

Message ID 20180606131154.24387-1-alialnu@mellanox.com
State Accepted
Headers show
Series parsemail.sh: don't set the python version | expand

Commit Message

Ali Alnubani June 6, 2018, 1:11 p.m. UTC
This is to fix using the wrong python
version when inside a virtualenv.

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

Comments

Stephen Finucane June 6, 2018, 1:32 p.m. UTC | #1
On Wed, 2018-06-06 at 15:11 +0200, Ali Alnubani wrote:
> This is to fix using the wrong python
> version when inside a virtualenv.
> 
> Signed-off-by: Ali Alnubani <alialnu@mellanox.com>

Yeah, we should default to system Python unless otherwise specified.
Applied. Thanks for the patch!

Stephen
diff mbox series

Patch

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