]> granicus.if.org Git - curl/commit
tests/http_pipe.py: Python 3 support
authorPeter Wu <peter@lekensteyn.nl>
Fri, 10 Oct 2014 14:15:42 +0000 (16:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Oct 2014 14:58:20 +0000 (16:58 +0200)
commit87a3a924ce237fc128bcfbcaa37305e47f8acda0
tree2d85be3f905ed9206bd6db5fa2183b61313acde3
parentc6c22aeb44dbfc31c16652d8dd7e1a6c3f4aa79b
tests/http_pipe.py: Python 3 support

The 2to3 tool converted socketserver (which I manually fixed up with an
import fallback) and the print(e) line. The xrange option was converted
to range, but it seems better to use the '*' operator here for
simplicity.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
tests/http_pipe.py