diff options
| author | mailman | 1998-04-09 23:57:58 +0000 |
|---|---|---|
| committer | mailman | 1998-04-09 23:57:58 +0000 |
| commit | 7c2b480459932f9c1443b85ec55b288e6be41117 (patch) | |
| tree | ab2178fff33af1510f2c7ada1cb9f2e0b509b104 /scripts | |
| parent | 36c8c34b723f6cfaae960ea9c2fc02c55dadc406 (diff) | |
| download | mailman-7c2b480459932f9c1443b85ec55b288e6be41117.tar.gz mailman-7c2b480459932f9c1443b85ec55b288e6be41117.tar.zst mailman-7c2b480459932f9c1443b85ec55b288e6be41117.zip | |
Preparing to package a distribution - add a module docstring and
__version__ info.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mailcmd | 3 | ||||
| -rwxr-xr-x | scripts/mailowner | 14 | ||||
| -rwxr-xr-x | scripts/owner | 14 | ||||
| -rwxr-xr-x | scripts/request | 3 |
4 files changed, 26 insertions, 8 deletions
diff --git a/scripts/mailcmd b/scripts/mailcmd index 2e0751ee0..7b2cc9f75 100755 --- a/scripts/mailcmd +++ b/scripts/mailcmd @@ -7,6 +7,9 @@ of the target mailing list. Errors are redirected to logs/errors.""" +__version__ = "$Revision: 399 $" + + import sys sys.path.append('/home/mailman/mailman/modules') diff --git a/scripts/mailowner b/scripts/mailowner index 746dc8008..3d1556e81 100755 --- a/scripts/mailowner +++ b/scripts/mailowner @@ -1,8 +1,14 @@ #! /usr/local/bin/python -# -# This script gets called by the wrapper. -# Stdin is the mail message, and argv[1] is the name of the mailing list -# whose owner(s) to send mail to. + +"""Send a message to the maillist owner. + +This script gets called by the wrapper. + +Stdin is the mail message, and argv[1] is the name of the mailing list +whose owner(s) to send mail to.""" + +__version__ = "$Revision: 399 $" + import sys f = open('/tmp/owner.errs', 'a+') diff --git a/scripts/owner b/scripts/owner index 746dc8008..3d1556e81 100755 --- a/scripts/owner +++ b/scripts/owner @@ -1,8 +1,14 @@ #! /usr/local/bin/python -# -# This script gets called by the wrapper. -# Stdin is the mail message, and argv[1] is the name of the mailing list -# whose owner(s) to send mail to. + +"""Send a message to the maillist owner. + +This script gets called by the wrapper. + +Stdin is the mail message, and argv[1] is the name of the mailing list +whose owner(s) to send mail to.""" + +__version__ = "$Revision: 399 $" + import sys f = open('/tmp/owner.errs', 'a+') diff --git a/scripts/request b/scripts/request index 2e0751ee0..7b2cc9f75 100755 --- a/scripts/request +++ b/scripts/request @@ -7,6 +7,9 @@ of the target mailing list. Errors are redirected to logs/errors.""" +__version__ = "$Revision: 399 $" + + import sys sys.path.append('/home/mailman/mailman/modules') |
