mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +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:
parent
17f000b744
commit
90ff4682df
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/python2 -u
|
||||
import os, os.path, sys, stat, signal, errno, argparse, time, json, re, posixfile
|
||||
#!/usr/bin/python3 -u
|
||||
import os, os.path, sys, stat, signal, errno, argparse, time, json, re
|
||||
|
||||
KILL_PROCESS_TIMEOUT = 5
|
||||
KILL_ALL_PROCESSES_TIMEOUT = 5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user