1
0
mirror of /repos/baseimage-docker.git synced 2025-12-31 08:11:29 +01:00

Migrate to Python 3

Ubuntu Trusty ships Python 3 by default, but not Python 2. Older versions already ship Python 3, so this change should be safe.
This commit is contained in:
Santiago M. Mola 2014-03-17 14:27:58 +01:00 committed by root
parent 17f000b744
commit 90ff4682df

View File

@ -1,5 +1,5 @@
#!/usr/bin/python2 -u #!/usr/bin/python3 -u
import os, os.path, sys, stat, signal, errno, argparse, time, json, re, posixfile import os, os.path, sys, stat, signal, errno, argparse, time, json, re
KILL_PROCESS_TIMEOUT = 5 KILL_PROCESS_TIMEOUT = 5
KILL_ALL_PROCESSES_TIMEOUT = 5 KILL_ALL_PROCESSES_TIMEOUT = 5