components/curl/patches/010-fix-tests.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 12 Oct 2016 05:02:11 -0700
changeset 7099 58b579e0ff32
parent 4660 0cca05cde869
permissions -rw-r--r--
24836953 firefox/thunderbird js test failures

Adjust the Python http_pipe.py script to work with our default version of
Python.

This change will be sent back up stream for consideration.

--- tests/http_pipe.py.orig	2014-09-10 15:59:26.498743943 -0700
+++ tests/http_pipe.py	2014-09-10 15:58:59.502589711 -0700
@@ -435,7 +435,7 @@
 if args.pidfile:
     pid = os.getpid()
     f = open(args.pidfile, 'w')
-    f.write('{}'.format(pid))
+    f.write('{0}'.format(pid))
     f.close()
 
 server = PipelineServer(('0.0.0.0', args.port), PipelineRequestHandler)