Be explicit about python version

Fixes 1562.
This commit is contained in:
Neil Booth 2015-12-19 20:57:09 +09:00
parent 5c3a6db445
commit 14952c32f5
4 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python2
if __name__ == '__main__':
import sys, re, shutil, os, hashlib

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python2
import sys
import re
import hashlib

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python2
import sys, re, shutil, os, hashlib
import imp

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python2
import sys, re, shutil, os, hashlib
import imp