python: Added __all__ to ashd.proto and ashd.util.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 14 Apr 2011 10:20:47 +0000 (12:20 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 14 Apr 2011 10:20:47 +0000 (12:20 +0200)
python/ashd/proto.py
python/ashd/util.py

index c1ae1b0..4a48304 100644 (file)
@@ -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
 
index 2ac7dc0..0ff3878 100644 (file)
@@ -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