Permalink
Browse files

patch 8.0.0005

Problem:    Netbeans test fails with Python 3. (Jonathonf)
Solution:   Encode the string before sending it. (closes #1070)
  • Loading branch information...
1 parent 5582ef1 commit 3c4ebeba17399e4ef33d004c269e667f696f0eb6 @brammool brammool committed Sep 15, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/test_netbeans.py
  2. +2 −0 src/version.c
@@ -52,7 +52,7 @@ def handle(self):
return
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
# the command was sent.
with open("Xnetbeans", "a") as myfile:
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 5,
+/**/
4,
/**/
3,

0 comments on commit 3c4ebeb

Please sign in to comment.