summarylogtreecommitdiffstats
path: root/0003-Fix-python-shebangs.patch
blob: 59c505bd13630d67802051b330149cb5bf62ed72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
From f15076436acde3378ee16370bbff2b67ed147a55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Krist=C3=B3f=20Jakab?= <jaksi@jaksi.io>
Date: Mon, 21 Sep 2015 19:55:36 +0200
Subject: [PATCH] Fix python shebangs

---
 modules/ftp/tests/test_ftp_parse_inband_auth.py | 2 +-
 nagios_plugins/check_zorp_threads.py            | 2 +-
 tests/tools/Agent/test-agent.py                 | 2 +-
 tests/tools/tproxy-test.py                      | 2 +-
 tests/zorpctl/test_deadlockcheck_algorithm.py   | 2 +-
 tests/zorpctl/test_detailedstatus_algorithm.py  | 2 +-
 tests/zorpctl/test_getalgorithms.py             | 2 +-
 tests/zorpctl/test_getprocinfo_algorithm.py     | 2 +-
 tests/zorpctl/test_instances_conf.py            | 2 +-
 tests/zorpctl/test_loglevel_algorithm.py        | 2 +-
 tests/zorpctl/test_reload_algorithm.py          | 2 +-
 tests/zorpctl/test_start_algorithm.py           | 2 +-
 tests/zorpctl/test_status_algorithm.py          | 2 +-
 tests/zorpctl/test_szig.py                      | 2 +-
 tests/zorpctl/test_szig_walk_algorithm.py       | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/modules/ftp/tests/test_ftp_parse_inband_auth.py b/modules/ftp/tests/test_ftp_parse_inband_auth.py
index 38c64ba..6682713 100755
--- a/modules/ftp/tests/test_ftp_parse_inband_auth.py
+++ b/modules/ftp/tests/test_ftp_parse_inband_auth.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ############################################################################
 ##
 ## Copyright (c) 2000-2015 BalaBit IT Ltd, Budapest, Hungary
diff --git a/nagios_plugins/check_zorp_threads.py b/nagios_plugins/check_zorp_threads.py
index 044a5dc..12eeadf 100755
--- a/nagios_plugins/check_zorp_threads.py
+++ b/nagios_plugins/check_zorp_threads.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python2
 # -*- coding: utf-8 -*-
 
 ############################################################################
diff --git a/tests/tools/Agent/test-agent.py b/tests/tools/Agent/test-agent.py
index b8d6232..60fe0f9 100755
--- a/tests/tools/Agent/test-agent.py
+++ b/tests/tools/Agent/test-agent.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/tools/tproxy-test.py b/tests/tools/tproxy-test.py
index 2e0130b..72908f2 100755
--- a/tests/tools/tproxy-test.py
+++ b/tests/tools/tproxy-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_deadlockcheck_algorithm.py b/tests/zorpctl/test_deadlockcheck_algorithm.py
index 71b1640..5c5baca 100755
--- a/tests/zorpctl/test_deadlockcheck_algorithm.py
+++ b/tests/zorpctl/test_deadlockcheck_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_detailedstatus_algorithm.py b/tests/zorpctl/test_detailedstatus_algorithm.py
index 30b91e6..1e3f34e 100755
--- a/tests/zorpctl/test_detailedstatus_algorithm.py
+++ b/tests/zorpctl/test_detailedstatus_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_getalgorithms.py b/tests/zorpctl/test_getalgorithms.py
index 42618ca..aaab9de 100755
--- a/tests/zorpctl/test_getalgorithms.py
+++ b/tests/zorpctl/test_getalgorithms.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_getprocinfo_algorithm.py b/tests/zorpctl/test_getprocinfo_algorithm.py
index 9dad517..d4c2a62 100755
--- a/tests/zorpctl/test_getprocinfo_algorithm.py
+++ b/tests/zorpctl/test_getprocinfo_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_instances_conf.py b/tests/zorpctl/test_instances_conf.py
index 3098086..4c42a4e 100755
--- a/tests/zorpctl/test_instances_conf.py
+++ b/tests/zorpctl/test_instances_conf.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_loglevel_algorithm.py b/tests/zorpctl/test_loglevel_algorithm.py
index 95a9aa0..6170829 100755
--- a/tests/zorpctl/test_loglevel_algorithm.py
+++ b/tests/zorpctl/test_loglevel_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_reload_algorithm.py b/tests/zorpctl/test_reload_algorithm.py
index 2e3d431..7ee6650 100755
--- a/tests/zorpctl/test_reload_algorithm.py
+++ b/tests/zorpctl/test_reload_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_start_algorithm.py b/tests/zorpctl/test_start_algorithm.py
index 11cbf23..3182e7b 100755
--- a/tests/zorpctl/test_start_algorithm.py
+++ b/tests/zorpctl/test_start_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_status_algorithm.py b/tests/zorpctl/test_status_algorithm.py
index 02bc79b..d82f157 100755
--- a/tests/zorpctl/test_status_algorithm.py
+++ b/tests/zorpctl/test_status_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_szig.py b/tests/zorpctl/test_szig.py
index 10a40bf..d3f3de5 100755
--- a/tests/zorpctl/test_szig.py
+++ b/tests/zorpctl/test_szig.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
diff --git a/tests/zorpctl/test_szig_walk_algorithm.py b/tests/zorpctl/test_szig_walk_algorithm.py
index 7b9175f..8bce467 100755
--- a/tests/zorpctl/test_szig_walk_algorithm.py
+++ b/tests/zorpctl/test_szig_walk_algorithm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 ############################################################################
 ##
-- 
2.5.3