From e66efe5f71c2bb6182055dffc9beefd0373ff3ad Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 14 Apr 2011 12:20:47 +0200 Subject: [PATCH] python: Added __all__ to ashd.proto and ashd.util. --- python/ashd/proto.py | 2 ++ python/ashd/util.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/python/ashd/proto.py b/python/ashd/proto.py index c1ae1b0..4a48304 100644 --- a/python/ashd/proto.py +++ b/python/ashd/proto.py @@ -10,6 +10,8 @@ ashd.util module provides an easier-to-use interface. import os, socket import htlib +__all__ = ["req", "recvreq", "sendreq"] + class protoerr(Exception): pass diff --git a/python/ashd/util.py b/python/ashd/util.py index 2ac7dc0..0ff3878 100644 --- a/python/ashd/util.py +++ b/python/ashd/util.py @@ -7,6 +7,8 @@ handlers, wrapping the low-level ashd.proto module. import os, socket import proto +__all__ = ["stdfork", "pchild", "respond", "serveloop"] + def stdfork(argv, chinit = None): """Fork a persistent handler process using the `argv' argument list, as per the standard ashd(7) calling convention. For an -- 2.11.0