use /usr/bin/env in shebang

This allows the path to the python binary to be overwritten using
environment variables (for example in virtualenvs).
This commit is contained in:
Florian Larysch 2015-05-04 21:31:44 +02:00
parent 20769b1ef0
commit 5f3e093a77
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
import os

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import xmlrpc.client
import traceback
import socket