From fa660b108c9d8f4710f6bce89f0a0770f8014506 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sun, 13 Jul 2014 18:54:13 +0200 Subject: [PATCH] Use /usr/bin/env python instead of /usr/bin/python The usage of /usr/bin/env ensures that the first interpreter found in the environment's $PATH variable is used. This should be preferred. Change-Id: Ifca0c47f2d1b123b4d5f9fb5e98191262ed25bca --- os_loganalyze/cmd/htmlify_log.py | 2 +- os_loganalyze/cmd/htmlify_server.py | 2 +- os_loganalyze/filter.py | 2 +- os_loganalyze/generator.py | 2 +- os_loganalyze/server.py | 2 +- os_loganalyze/tests/test_filters.py | 2 +- os_loganalyze/tests/test_wsgi.py | 2 +- os_loganalyze/wsgi.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/os_loganalyze/cmd/htmlify_log.py b/os_loganalyze/cmd/htmlify_log.py index c5a9d7f..3bd17d3 100644 --- a/os_loganalyze/cmd/htmlify_log.py +++ b/os_loganalyze/cmd/htmlify_log.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. # diff --git a/os_loganalyze/cmd/htmlify_server.py b/os_loganalyze/cmd/htmlify_server.py index d411ec4..ca32a84 100644 --- a/os_loganalyze/cmd/htmlify_server.py +++ b/os_loganalyze/cmd/htmlify_server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/os_loganalyze/filter.py b/os_loganalyze/filter.py index 3ec887e..332328e 100644 --- a/os_loganalyze/filter.py +++ b/os_loganalyze/filter.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. # Copyright (c) 2014 Hewlett-Packard Development Company, L.P. diff --git a/os_loganalyze/generator.py b/os_loganalyze/generator.py index 93b313c..bb16ba7 100644 --- a/os_loganalyze/generator.py +++ b/os_loganalyze/generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. # Copyright (c) 2014 Hewlett-Packard Development Company, L.P. diff --git a/os_loganalyze/server.py b/os_loganalyze/server.py index ca687e5..4e69d94 100755 --- a/os_loganalyze/server.py +++ b/os_loganalyze/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/os_loganalyze/tests/test_filters.py b/os_loganalyze/tests/test_filters.py index cb0f62c..7524867 100644 --- a/os_loganalyze/tests/test_filters.py +++ b/os_loganalyze/tests/test_filters.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. # diff --git a/os_loganalyze/tests/test_wsgi.py b/os_loganalyze/tests/test_wsgi.py index f85c728..3d9d750 100644 --- a/os_loganalyze/tests/test_wsgi.py +++ b/os_loganalyze/tests/test_wsgi.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. # diff --git a/os_loganalyze/wsgi.py b/os_loganalyze/wsgi.py index 6ef89f5..e41527b 100755 --- a/os_loganalyze/wsgi.py +++ b/os_loganalyze/wsgi.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2013 IBM Corp. #