equal
deleted
inserted
replaced
218 |
218 |
219 capabilities = {'runcommand' : runcommand, |
219 capabilities = {'runcommand' : runcommand, |
220 'getencoding' : getencoding} |
220 'getencoding' : getencoding} |
221 |
221 |
222 def serve(self): |
222 def serve(self): |
223 hellomsg = 'capabilities: ' + ' '.join(self.capabilities.keys()) |
223 hellomsg = 'capabilities: ' + ' '.join(sorted(self.capabilities)) |
224 hellomsg += '\n' |
224 hellomsg += '\n' |
225 hellomsg += 'encoding: ' + encoding.encoding |
225 hellomsg += 'encoding: ' + encoding.encoding |
226 |
226 |
227 # write the hello msg in -one- chunk |
227 # write the hello msg in -one- chunk |
228 self.cout.write(hellomsg) |
228 self.cout.write(hellomsg) |