Documentation clarified re. config socket listener protocol

This commit is contained in:
Vinay Sajip 2005-06-05 20:39:36 +00:00
parent b6c1bb883e
commit 4c1423bb7a
2 changed files with 7 additions and 4 deletions

View file

@ -225,9 +225,9 @@ def listen(port=DEFAULT_LOGGING_CONFIG_PORT):
"""
Handle a request.
Each request is expected to be a 4-byte length,
followed by the config file. Uses fileConfig() to do the
grunt work.
Each request is expected to be a 4-byte length, packed using
struct.pack(">L", n), followed by the config file.
Uses fileConfig() to do the grunt work.
"""
import tempfile
try: