Should call python as #!/usr/bin/env python

This commit is contained in:
2004-01-27 22:32:58 +00:00
parent bede48ead2
commit a0bf759fe7

View File

@@ -1,12 +1,12 @@
#!/usr/bin/python #!/usr/bin/env python
import sys import sys
try: try:
import dns import dns
has = 1 has = 1
except: except:
has = 0 has = 0
if has == 1: if has == 1:
sys.exit(0) sys.exit(0)
else: else:
sys.exit(1) sys.exit(1)