summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-11-15 01:58:25 +0000
committerJeremy Kerr <jk@ozlabs.org>2015-03-22 21:10:16 +0800
commitb08229de74367b95f851f7bb2c89781022df4101 (patch)
treeed8ca04a6212be5551ee8c45a8e88197874dfaa3
parent968f33eff4be769159771d7b5db4444a8112b227 (diff)
downloadpatchwork-b08229de74367b95f851f7bb2c89781022df4101.tar
patchwork-b08229de74367b95f851f7bb2c89781022df4101.tar.gz
Always use #!/usr/bin/env python
Hardcoding the path to the python binary breaks virtualenv. virtualenv creates a special python binary in the path, and specifically using /usr/bin/python breaks that. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rwxr-xr-xapps/patchwork/bin/parsemail.py2
-rwxr-xr-xapps/patchwork/bin/rehash.py2
-rw-r--r--apps/patchwork/parser.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py
index 2a4866f..19e6e57 100755
--- a/apps/patchwork/bin/parsemail.py
+++ b/apps/patchwork/bin/parsemail.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Patchwork - automated patch tracking system
# Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org>
diff --git a/apps/patchwork/bin/rehash.py b/apps/patchwork/bin/rehash.py
index 92cfb20..c44e49b 100755
--- a/apps/patchwork/bin/rehash.py
+++ b/apps/patchwork/bin/rehash.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Patchwork - automated patch tracking system
# Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org>
diff --git a/apps/patchwork/parser.py b/apps/patchwork/parser.py
index 8295980..76f409c 100644
--- a/apps/patchwork/parser.py
+++ b/apps/patchwork/parser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Patchwork - automated patch tracking system
# Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org>