From 3d5a360df45431b71bbb2fdd9ebd183b060a13ec Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 13 Apr 2014 18:07:21 -0700 Subject: [PATCH] Fix Py3 --- testing/resources/python_hooks_repo/foo/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testing/resources/python_hooks_repo/foo/main.py b/testing/resources/python_hooks_repo/foo/main.py index 23d20014..1cdb6a02 100644 --- a/testing/resources/python_hooks_repo/foo/main.py +++ b/testing/resources/python_hooks_repo/foo/main.py @@ -1,7 +1,8 @@ +from __future__ import print_function import sys def func(): - print repr(sys.argv[1:]) - print 'Hello World' + print(repr(sys.argv[1:])) + print('Hello World') return 0