Tidied example script.

This commit is contained in:
Vinay Sajip 2010-09-14 06:59:24 +00:00
parent e1b6a9ac99
commit de72692465
1 changed files with 2 additions and 0 deletions

View File

@ -2660,6 +2660,8 @@ data needed by the handler to create the socket::
data = json.dumps(record.__dict__)
self.queue.send(data)
def close(self):
self.queue.close()
.. _formatter-objects: