mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #3343 from Piratonym/issue-3336
Use python2 in Python script shebang lines
This commit is contained in:
@@ -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
|
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
|
devices that have been polled within the last $poll_frequency seconds. It will prioritize devices based
|
||||||
|
@@ -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
|
poller-wrapper A small tool which wraps around the poller and tries to
|
||||||
guide the polling process with a more modern approach with a
|
guide the polling process with a more modern approach with a
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import urllib2
|
import urllib2
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import warnings
|
import warnings
|
||||||
import re
|
import re
|
||||||
warnings.filterwarnings(action="ignore", message='the sets module is deprecated')
|
warnings.filterwarnings(action="ignore", message='the sets module is deprecated')
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import urllib2
|
import urllib2
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user