##// END OF EJS Templates
Fix TypeError
Vincent Wagelaar -
r1160:0da98529 default
parent child Browse files
Show More
@@ -75,6 +75,8 b' class hgrequest:'
75 else:
75 else:
76 try:
76 try:
77 self.out.write(thing)
77 self.out.write(thing)
78 except TypeError:
79 self.out.write(str(thing))
78 except socket.error, x:
80 except socket.error, x:
79 if x[0] != errno.ECONNRESET:
81 if x[0] != errno.ECONNRESET:
80 raise
82 raise
General Comments 0
You need to be logged in to leave comments. Login now