aboutsummaryrefslogtreecommitdiff
path: root/git_remote_helpers
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-01-20 13:15:38 +0000
committerJunio C Hamano <gitster@pobox.com>2013-01-24 19:32:35 -0800
commitf9640ac26ce0478695487f657718157bb7b4f804 (patch)
tree7d414a1923c9831a28c467256eca34ac86e59fd9 /git_remote_helpers
parentd04c94a2ea21cb218b43be192d8569c0e669d080 (diff)
downloadgit-f9640ac26ce0478695487f657718157bb7b4f804.tar.gz
git-f9640ac26ce0478695487f657718157bb7b4f804.tar.xz
git-remote-testpy: call print as a function
This is harmless in Python 2, which sees the parentheses as redundant grouping, but is required for Python 3. Since this is the only change required to make this script just run under Python 3 without needing 2to3 it seems worthwhile. The case of an empty print must be handled specially because in that case Python 2 will interpret '()' as an empty tuple and print it as '()'; inserting an empty string fixes this. Signed-off-by: John Keeping <john@keeping.me.uk> Acked-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git_remote_helpers')
0 files changed, 0 insertions, 0 deletions