Mercurial > hg-stable
changeset 41252:a495435d980e
tests: make python oneliner portable to python 3 in remotefilelog test
Differential Revision: https://phab.mercurial-scm.org/D5602
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 16 Jan 2019 10:58:31 -0500 |
parents | beb0d944a99b |
children | 29996f6c2687 |
files | tests/test-remotefilelog-http.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-remotefilelog-http.t Wed Jan 16 10:58:09 2019 -0500 +++ b/tests/test-remotefilelog-http.t Wed Jan 16 10:58:31 2019 -0500 @@ -15,7 +15,7 @@ Build a query string for later use: $ GET=`hg debugdata -m 0 | $PYTHON -c \ - > 'import sys ; print [("?cmd=x_rfl_getfile&file=%s&node=%s" % tuple(s.split("\0"))) for s in sys.stdin.read().splitlines()][0]'` + > 'import sys ; print([("?cmd=x_rfl_getfile&file=%s&node=%s" % tuple(s.split("\0"))) for s in sys.stdin.read().splitlines()][0])'` $ cd .. $ cat hg1.pid >> $DAEMON_PIDS