From b08229de74367b95f851f7bb2c89781022df4101 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sat, 15 Nov 2014 01:58:25 +0000 Subject: 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 Signed-off-by: Jeremy Kerr --- apps/patchwork/bin/parsemail.py | 2 +- apps/patchwork/bin/rehash.py | 2 +- apps/patchwork/parser.py | 2 +- 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 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 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 -- cgit v1.2.3