##// END OF EJS Templates
cmdserver: write the hello message as one chunk on the 'o' channel...
Idan Kamara -
r14719:c19de7f3 stable
parent child Browse files
Show More
@@ -205,8 +205,12 b' class server(object):'
205 205 'getencoding' : getencoding}
206 206
207 207 def serve(self):
208 self.cout.write('capabilities: %s' % ' '.join(self.capabilities.keys()))
209 self.cout.write('encoding: %s' % encoding.encoding)
208 hellomsg = 'capabilities: ' + ' '.join(self.capabilities.keys())
209 hellomsg += '\n'
210 hellomsg += 'encoding: ' + encoding.encoding
211
212 # write the hello msg in -one- chunk
213 self.cout.write(hellomsg)
210 214
211 215 try:
212 216 while self.serveone():
General Comments 0
You need to be logged in to leave comments. Login now