git_remote_helpers: allow building with Python 3

Change inline Python to call "print" as a function not a statement. This is harmless because Python 2 will see the parentheses as redundant grouping but they are necessary to run this code with Python 3. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

John Keeping committed Jan 20, 2013 at 13:15 UTC a894ba17e636cd3dc9c58aa34d5b8211f849ecef
1 file changed +1 -1
git_remote_helpers/Makefile
+1 -1
@@ -23,7 +23,7 @@ endif
23
24 PYLIBDIR=$(shell $(PYTHON_PATH) -c \
25 "import sys; \
26 - print 'lib/python%i.%i/site-packages' % sys.version_info[:2]")
26 + print('lib/python%i.%i/site-packages' % sys.version_info[:2])")
27
28 all: $(pysetupfile)
29 $(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build