aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/maple/board.cpp
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-28 12:02:48 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-28 12:02:48 -0400
commitf9e7ed43d6e72693a5ee358a7006cd6566960b19 (patch)
tree4409333457a43e9bdad2783679a255884c0286da /wirish/boards/maple/board.cpp
parent53b9bcfbf2ca25e7c4802cba123194cd842d9b5d (diff)
downloadlibrambutan-f9e7ed43d6e72693a5ee358a7006cd6566960b19.tar.gz
librambutan-f9e7ed43d6e72693a5ee358a7006cd6566960b19.zip
reset.py: Use the real print function (requires Python 2.6+).
Use "from __future__ import print_function" so the recent py3k compatibility patches to reset.py preserve the old output in Python 2. This increases our minimum Python version to 2.6, but avoids ugly output Python 2, where print statements with a tuple argument print the tuple with parentheses etc. Python 2.6 came out almost four years ago, and it's widely available: - even on older Linux distros (e.g. Ubuntu 10.04 and Debian Squeeze have 2.6 default at time of writing), - on OS X since 10.6, - and Windows users will probably be installing from python.org anyway, so they've likely got a reasonably recent vintage. Dropping 2.5 support thus doesn't seem likely to cause problems. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards/maple/board.cpp')
0 files changed, 0 insertions, 0 deletions