From c713d764c53e439352e79076eeecdbed9b2ccd6c Mon Sep 17 00:00:00 2001 From: Anthony King Date: Tue, 3 Nov 2015 00:23:11 +0000 Subject: py3: update all the things Change-Id: I5e11b46b7c2f7f8760d6c0e713ca99c1e88b7cd3 --- tools/releasetools/make_recovery_patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/releasetools/make_recovery_patch.py') diff --git a/tools/releasetools/make_recovery_patch.py b/tools/releasetools/make_recovery_patch.py index 08d1450..7c6007e 100755 --- a/tools/releasetools/make_recovery_patch.py +++ b/tools/releasetools/make_recovery_patch.py @@ -14,10 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import print_function + import sys if sys.hexversion < 0x02070000: - print >> sys.stderr, "Python 2.7 or newer is required." + print("Python 2.7 or newer is required.", file=sys.stderr) sys.exit(1) import os -- cgit v1.1