Commit de726924 authored by Vinay Sajip's avatar Vinay Sajip

Tidied example script.

parent e1b6a9ac
...@@ -2660,6 +2660,8 @@ data needed by the handler to create the socket:: ...@@ -2660,6 +2660,8 @@ data needed by the handler to create the socket::
data = json.dumps(record.__dict__) data = json.dumps(record.__dict__)
self.queue.send(data) self.queue.send(data)
def close(self):
self.queue.close()
.. _formatter-objects: .. _formatter-objects:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment