Closes ticket 32731.
@@ -7,7 +7,10 @@
# restrict, so long as you retain the above notice(s) and this license
# in all redistributed copies and derived works. There is no warranty.
+# Future imports for Python 2.7, mandatory in 3.0
+from __future__ import division
from __future__ import print_function
+from __future__ import unicode_literals
import cgitb
import os
@@ -1,3 +1,7 @@
+from __future__ import print_function
import socket
import chutney.Util
@@ -76,8 +76,10 @@
"""
-from __future__ import with_statement
import string
@@ -7,8 +7,10 @@
@@ -20,7 +20,10 @@
#
# For example code, see main() below.
import sys
@@ -1,4 +1,7 @@
-
def memoized(fn):
"""Decorator: memoize a function."""
@@ -0,0 +1,4 @@
@@ -1,7 +1,11 @@
+
import time
import chutney
def run_test(network):
wait_time = network._dfltEnv['bootstrap_time']
start_time = time.time()