Use python2 in Python script shebang lines

This fixes issue #3336.
This commit is contained in:
Karsten Nerdinger 2016-04-11 15:37:09 +02:00
parent 899b296653
commit 2925d8ce81
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
"""
poller-service A service to wrap SNMP polling. It will poll up to $threads devices at a time, and will not re-poll
devices that have been polled within the last $poll_frequency seconds. It will prioritize devices based

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
"""
poller-wrapper A small tool which wraps around the poller and tries to
guide the polling process with a more modern approach with a

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import urllib2
import re

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import warnings
import re
warnings.filterwarnings(action="ignore", message='the sets module is deprecated')

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import urllib2
import re