Skip to content

Commit

Permalink
Remove python2 shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Lex authored and lx183 committed Aug 27, 2024
1 parent 4fb1f6a commit 26fd089
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion nagios_checks/check_directory_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python
import sys
import argparse
from datetime import datetime
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_disk_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down
4 changes: 2 additions & 2 deletions nagios_checks/check_file_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down Expand Up @@ -73,4 +73,4 @@ if __name__ == '__main__':
status="FILEAGE OK - Last modified: %s (%s ago)" % (last_modified, time_diff)
print("%s | %s" % (status, perfdata))

sys.exit(ret_status)
sys.exit(ret_status)
2 changes: 1 addition & 1 deletion nagios_checks/check_load_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_memory_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_process_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

from __future__ import print_function
import math
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_remote_ping_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down
4 changes: 2 additions & 2 deletions nagios_checks/check_smart_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down Expand Up @@ -52,4 +52,4 @@ if __name__ == '__main__':

print("%s" % (status))

sys.exit(ret_status)
sys.exit(ret_status)
2 changes: 1 addition & 1 deletion nagios_checks/check_swap_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python

import math
import sys
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_user_login_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python
import math
import sys
import argparse
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_win_network_adapter
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python
import math
import sys
import argparse
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_win_task_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python
import math
import sys
import argparse
Expand Down
2 changes: 1 addition & 1 deletion nagios_checks/check_win_update_wbem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python
import math
import sys
import argparse
Expand Down

0 comments on commit 26fd089

Please sign in to comment.