# HG changeset patch # User Augie Fackler # Date 1547654311 18000 # Node ID a495435d980efa8f416bae132b0da07ebf534d21 # Parent beb0d944a99b55e48e6bafec8a4ae5d714d937f6 tests: make python oneliner portable to python 3 in remotefilelog test Differential Revision: https://phab.mercurial-scm.org/D5602 diff -r beb0d944a99b -r a495435d980e tests/test-remotefilelog-http.t --- 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