From 90ff4682df6dd1903f9ec08c96b4ad08221eba94 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Mon, 17 Mar 2014 14:27:58 +0100 Subject: [PATCH] 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. --- image/my_init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/my_init b/image/my_init index c7bb576..983b65c 100755 --- a/image/my_init +++ b/image/my_init @@ -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