mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0005
Problem: Netbeans test fails with Python 3. (Jonathonf) Solution: Encode the string before sending it. (closes #1070)
This commit is contained in:
@@ -52,7 +52,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if len(response) > 0:
|
if len(response) > 0:
|
||||||
self.request.sendall(response)
|
self.request.sendall(response.encode('utf-8'))
|
||||||
# Write the respoinse into the file, so that the test can knows
|
# Write the respoinse into the file, so that the test can knows
|
||||||
# the command was sent.
|
# the command was sent.
|
||||||
with open("Xnetbeans", "a") as myfile:
|
with open("Xnetbeans", "a") as myfile:
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5,
|
||||||
/**/
|
/**/
|
||||||
4,
|
4,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user