Skip to content

Commit

Permalink
Use python2 in Python script shebang lines
Browse files Browse the repository at this point in the history
This fixes issue #3336.
  • Loading branch information
Piratonym committed Apr 11, 2016
1 parent 899b296 commit 2925d8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion poller-service.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion poller-wrapper.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/agent-local/nginx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import urllib2
import re

Expand Down
2 changes: 1 addition & 1 deletion scripts/mysql-stats
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 1 addition & 1 deletion scripts/nginx-stats
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import urllib2
import re

Expand Down

0 comments on commit 2925d8c

Please sign in to comment.