Skip to content

Commit 8ee4a95

Browse files
author
Jürgen Hermann
committed
Added module docstrings to all modules.
1 parent 3f30690 commit 8ee4a95

File tree

13 files changed

+102
-17
lines changed

13 files changed

+102
-17
lines changed

roundup/cgi_client.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.60 2001-11-21 22:57:28 jhermann Exp $
18+
# $Id: cgi_client.py,v 1.61 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
WWW request handler (also used in the stand-alone server).
22+
"""
1923

2024
import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes
2125
import binascii, Cookie, time
@@ -978,6 +982,10 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
978982

979983
#
980984
# $Log: not supported by cvs2svn $
985+
# Revision 1.60 2001/11/21 22:57:28 jhermann
986+
# Added dummy hooks for I18N and some preliminary (test) markup of
987+
# translatable messages
988+
#
981989
# Revision 1.59 2001/11/21 03:21:13 richard
982990
# oops
983991
#

roundup/cgitb.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#
22
# This module was written by Ka-Ping Yee, <[email protected]>.
33
#
4-
# $Id: cgitb.py,v 1.6 2001-09-29 13:27:00 richard Exp $
4+
# $Id: cgitb.py,v 1.7 2001-11-22 15:46:42 jhermann Exp $
5+
6+
__doc__ = """
7+
Extended CGI traceback handler by Ka-Ping Yee, <[email protected]>.
8+
"""
59

610
import sys, os, types, string, keyword, linecache, tokenize, inspect, pydoc
711

@@ -118,6 +122,10 @@ def handler():
118122

119123
#
120124
# $Log: not supported by cvs2svn $
125+
# Revision 1.6 2001/09/29 13:27:00 richard
126+
# CGI interfaces now spit up a top-level index of all the instances they can
127+
# serve.
128+
#
121129
# Revision 1.5 2001/08/07 00:24:42 richard
122130
# stupid typo
123131
#

roundup/date.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: date.py,v 1.13 2001-09-18 22:58:37 richard Exp $
18+
# $Id: date.py,v 1.14 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
Date, time and time interval handling.
22+
"""
1923

2024
import time, re, calendar
2125

@@ -379,6 +383,10 @@ def test():
379383

380384
#
381385
# $Log: not supported by cvs2svn $
386+
# Revision 1.13 2001/09/18 22:58:37 richard
387+
#
388+
# Added some more help to roundu-admin
389+
#
382390
# Revision 1.12 2001/08/17 03:08:11 richard
383391
# fixed prettification of intervals of 1 week
384392
#

roundup/htmltemplate.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: htmltemplate.py,v 1.44 2001-11-21 23:35:45 jhermann Exp $
18+
# $Id: htmltemplate.py,v 1.45 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
Template engine.
22+
"""
1923

2024
import os, re, StringIO, urllib, cgi, errno
2125

@@ -861,6 +865,9 @@ def render(self, form):
861865

862866
#
863867
# $Log: not supported by cvs2svn $
868+
# Revision 1.44 2001/11/21 23:35:45 jhermann
869+
# Added globbing for win32, and sample marking in a 2nd file to test it
870+
#
864871
# Revision 1.43 2001/11/21 04:04:43 richard
865872
# *sigh* more missing value handling
866873
#

roundup/hyperdb.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: hyperdb.py,v 1.34 2001-11-21 04:04:43 richard Exp $
18+
# $Id: hyperdb.py,v 1.35 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
Hyperdatabase implementation, especially field types.
22+
"""
1923

2024
# standard python modules
2125
import cPickle, re, string
@@ -860,6 +864,9 @@ def Choice(name, *options):
860864

861865
#
862866
# $Log: not supported by cvs2svn $
867+
# Revision 1.34 2001/11/21 04:04:43 richard
868+
# *sigh* more missing value handling
869+
#
863870
# Revision 1.33 2001/11/21 03:40:54 richard
864871
# more new property handling
865872
#

roundup/i18n.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: i18n.py,v 1.1 2001-11-21 22:57:29 jhermann Exp $
18+
# $Id: i18n.py,v 1.2 2001-11-22 15:46:42 jhermann Exp $
1919

20-
"""
20+
__doc__ = """
2121
RoundUp Internationalization (I18N)
2222
2323
To use this module, the following code should be used:

roundup/init.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: init.py,v 1.17 2001-11-12 23:17:38 jhermann Exp $
18+
# $Id: init.py,v 1.18 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
Init (create) a roundup instance.
22+
"""
1923

2024
import os, sys, errno
2125

@@ -104,6 +108,9 @@ def init(instance_home, template, backend, adminpw):
104108

105109
#
106110
# $Log: not supported by cvs2svn $
111+
# Revision 1.17 2001/11/12 23:17:38 jhermann
112+
# Code using copyDigestedFile() that passes unit tests
113+
#
107114
# Revision 1.16 2001/10/09 07:25:59 richard
108115
# Added the Password property type. See "pydoc roundup.password" for
109116
# implementation details. Have updated some of the documentation too.

roundup/install_util.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: install_util.py,v 1.5 2001-11-12 23:17:38 jhermann Exp $
18+
# $Id: install_util.py,v 1.6 2001-11-22 15:46:42 jhermann Exp $
19+
20+
__doc__ = """
21+
Support module to generate and check fingerprints of installed files.
22+
"""
1923

2024
import os, sha, shutil
2125

@@ -145,6 +149,9 @@ def test():
145149

146150
#
147151
# $Log: not supported by cvs2svn $
152+
# Revision 1.5 2001/11/12 23:17:38 jhermann
153+
# Code using copyDigestedFile() that passes unit tests
154+
#
148155
# Revision 1.4 2001/11/12 23:14:40 jhermann
149156
# Copy function, and proper handling of unknown file types
150157
#

roundup/instance.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: instance.py,v 1.4 2001-11-12 22:01:06 richard Exp $
18+
# $Id: instance.py,v 1.5 2001-11-22 15:46:42 jhermann Exp $
1919

20-
''' Currently this module provides one function: open. This function opens
20+
__doc__ = '''
21+
Instance handling (open instance).
22+
23+
Currently this module provides one function: open. This function opens
2124
an instance.
2225
'''
2326

@@ -52,6 +55,9 @@ def open(self, instance_home):
5255

5356
#
5457
# $Log: not supported by cvs2svn $
58+
# Revision 1.4 2001/11/12 22:01:06 richard
59+
# Fixed issues with nosy reaction and author copies.
60+
#
5561
# Revision 1.3 2001/08/07 00:24:42 richard
5662
# stupid typo
5763
#

roundup/mailgw.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17-
#
18-
'''
17+
#
18+
19+
__doc__ = '''
1920
An e-mail gateway for Roundup.
2021
2122
Incoming messages are examined for multiple parts:
@@ -72,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7273
an exception, the original message is bounced back to the sender with the
7374
explanatory message given in the exception.
7475
75-
$Id: mailgw.py,v 1.34 2001-11-15 10:24:27 richard Exp $
76+
$Id: mailgw.py,v 1.35 2001-11-22 15:46:42 jhermann Exp $
7677
'''
7778

7879

@@ -521,6 +522,9 @@ def parseContent(content, blank_line=re.compile(r'[\r\n]+\s*[\r\n]+'),
521522

522523
#
523524
# $Log: not supported by cvs2svn $
525+
# Revision 1.34 2001/11/15 10:24:27 richard
526+
# handle the case where there is no file attached
527+
#
524528
# Revision 1.33 2001/11/13 21:44:44 richard
525529
# . re-open the database as the author in mail handling
526530
#

0 commit comments

Comments
 (0)