[Python-modules-commits] [nagiosplugin] 07/11: fix_example_shebang

Jan Dittberner jandd at moszumanska.debian.org
Tue Jul 18 13:27:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch master
in repository nagiosplugin.

commit 39f0f54dcb2935cdb76aa83820357f1d6ac08a04
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Thu Oct 8 09:58:28 2015 -0700

    fix_example_shebang
    
    Patch-Name: fix_example_shebang.patch
---
 src/nagiosplugin/examples/check_haproxy_log.py | 2 +-
 src/nagiosplugin/examples/check_load.py        | 2 +-
 src/nagiosplugin/examples/check_users.py       | 2 +-
 src/nagiosplugin/examples/check_world.py       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/nagiosplugin/examples/check_haproxy_log.py b/src/nagiosplugin/examples/check_haproxy_log.py
index a4bc5ef..70075a4 100755
--- a/src/nagiosplugin/examples/check_haproxy_log.py
+++ b/src/nagiosplugin/examples/check_haproxy_log.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 # Copyright (c) gocept gmbh & co. kg
 # See also LICENSE.txt
 
diff --git a/src/nagiosplugin/examples/check_load.py b/src/nagiosplugin/examples/check_load.py
index 26e1321..5ccb4bc 100755
--- a/src/nagiosplugin/examples/check_load.py
+++ b/src/nagiosplugin/examples/check_load.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 # Copyright (c) gocept gmbh & co. kg
 # See also LICENSE.txt
 
diff --git a/src/nagiosplugin/examples/check_users.py b/src/nagiosplugin/examples/check_users.py
index caf6c7a..1b9d6d4 100755
--- a/src/nagiosplugin/examples/check_users.py
+++ b/src/nagiosplugin/examples/check_users.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 # Copyright (c) gocept gmbh & co. kg
 # See also LICENSE.txt
 
diff --git a/src/nagiosplugin/examples/check_world.py b/src/nagiosplugin/examples/check_world.py
index 1167d61..ec4a072 100755
--- a/src/nagiosplugin/examples/check_world.py
+++ b/src/nagiosplugin/examples/check_world.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 
 """Hello world Nagios check."""
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/nagiosplugin.git



More information about the Python-modules-commits mailing list