[Zope3-checkins] SVN: Zope3/trunk/src/z Made sure that all modules
have a title.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 16 02:58:27 EDT 2004
Log message for revision 26567:
Made sure that all modules have a title.
Changed:
U Zope3/trunk/src/zope/app/basicskin/tests/test_standardmacros.py
U Zope3/trunk/src/zope/app/component/metadirectives.py
U Zope3/trunk/src/zope/app/component/tests/test_contentdirective.py
U Zope3/trunk/src/zope/app/container/browser/ftests/test_contents.py
U Zope3/trunk/src/zope/app/container/browser/metaconfigure.py
U Zope3/trunk/src/zope/app/content/__init__.py
U Zope3/trunk/src/zope/app/copypastemove/__init__.py
U Zope3/trunk/src/zope/app/copypastemove/tests/test_rename.py
U Zope3/trunk/src/zope/app/dav/tests/test_propfind.py
U Zope3/trunk/src/zope/app/demo/hellopackage/__init__.py
U Zope3/trunk/src/zope/app/demo/hellopackage/hellomodule.py
U Zope3/trunk/src/zope/app/demo/hellopackage/interfaces.py
U Zope3/trunk/src/zope/app/demo/hellopackage/tests/__init__.py
U Zope3/trunk/src/zope/app/dependable/interfaces.py
U Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py
U Zope3/trunk/src/zope/app/dtmlpage/interfaces.py
U Zope3/trunk/src/zope/app/dtmlpage/tests/test_dtmlpage.py
U Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py
U Zope3/trunk/src/zope/app/dublincore/interfaces.py
U Zope3/trunk/src/zope/app/event/__init__.py
U Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py
U Zope3/trunk/src/zope/app/externaleditor/interfaces.py
U Zope3/trunk/src/zope/app/file/__init__.py
U Zope3/trunk/src/zope/app/file/browser/tests/test_imagedata.py
U Zope3/trunk/src/zope/app/file/image.py
U Zope3/trunk/src/zope/app/file/tests/test_file.py
U Zope3/trunk/src/zope/app/file/tests/test_image.py
U Zope3/trunk/src/zope/app/folder/__init__.py
U Zope3/trunk/src/zope/app/folder/tests.py
U Zope3/trunk/src/zope/app/form/__init__.py
U Zope3/trunk/src/zope/app/form/browser/interfaces.py
U Zope3/trunk/src/zope/app/form/browser/metadirectives.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_add.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_checkboxwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_datetimewidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_datewidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_exception.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_filewidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_floatwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_intwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_multicheckboxwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_objectwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_passwordwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_radiowidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_setprefix.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_textareawidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_widgetdocs.py
U Zope3/trunk/src/zope/app/http/interfaces.py
U Zope3/trunk/src/zope/app/i18n/browser/tests/test_translate.py
U Zope3/trunk/src/zope/app/i18n/metadirectives.py
U Zope3/trunk/src/zope/app/i18nfile/__init__.py
U Zope3/trunk/src/zope/app/i18nfile/i18nfile.py
U Zope3/trunk/src/zope/app/i18nfile/i18nimage.py
U Zope3/trunk/src/zope/app/i18nfile/interfaces.py
U Zope3/trunk/src/zope/app/introspector/interfaces.py
U Zope3/trunk/src/zope/app/publication/publicationtraverse.py
U Zope3/trunk/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py
U Zope3/trunk/src/zope/app/publisher/fileresource.py
U Zope3/trunk/src/zope/app/rdb/tests/test_doctests.py
U Zope3/trunk/src/zope/app/rdb/tests/test_dsnparser.py
U Zope3/trunk/src/zope/app/rdb/tests/test_zopeconnection.py
U Zope3/trunk/src/zope/app/rdb/tests/test_zopecursor.py
U Zope3/trunk/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py
U Zope3/trunk/src/zope/app/registration/tests/test_registered.py
U Zope3/trunk/src/zope/app/registration/tests/test_registrationmanager.py
U Zope3/trunk/src/zope/app/rotterdam/standardmacros.py
U Zope3/trunk/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py
U Zope3/trunk/src/zope/app/rotterdam/tests/util.py
U Zope3/trunk/src/zope/app/schema/tests/test_schemautility.py
U Zope3/trunk/src/zope/app/security/tests/__init__.py
U Zope3/trunk/src/zope/app/securitypolicy/permissionroles.py
U Zope3/trunk/src/zope/app/securitypolicy/rolepermission.py
U Zope3/trunk/src/zope/app/session/ftests.py
U Zope3/trunk/src/zope/app/session/tests.py
U Zope3/trunk/src/zope/app/sqlscript/__init__.py
U Zope3/trunk/src/zope/app/sqlscript/dtml.py
U Zope3/trunk/src/zope/app/sqlscript/interfaces.py
U Zope3/trunk/src/zope/app/sqlscript/sqlscript.py
U Zope3/trunk/src/zope/app/tests/test.py
U Zope3/trunk/src/zope/app/traversing/api.py
U Zope3/trunk/src/zope/app/tree/tests/test_encoder.py
U Zope3/trunk/src/zope/app/undo/__init__.py
U Zope3/trunk/src/zope/app/undo/interfaces.py
U Zope3/trunk/src/zope/app/undo/tests/test_prefix.py
U Zope3/trunk/src/zope/app/undo/tests/test_zodbundomanager.py
U Zope3/trunk/src/zope/app/uniqueid/ftests.py
U Zope3/trunk/src/zope/app/zptpage/__init__.py
U Zope3/trunk/src/zope/app/zptpage/tests/test_zptpageeval.py
U Zope3/trunk/src/zope/component/service.py
U Zope3/trunk/src/zope/component/tests/test_service.py
U Zope3/trunk/src/zope/exceptions/_duplicate.py
U Zope3/trunk/src/zope/exceptions/_forbidden.py
U Zope3/trunk/src/zope/exceptions/_notfounderror.py
U Zope3/trunk/src/zope/interface/exceptions.py
U Zope3/trunk/src/zope/interface/interfaces.py
U Zope3/trunk/src/zope/modulealias/metaconfigure.py
U Zope3/trunk/src/zope/publisher/tests/httprequest.py
U Zope3/trunk/src/zope/publisher/tests/test_ftp.py
U Zope3/trunk/src/zope/schema/_bootstrapfields.py
U Zope3/trunk/src/zope/schema/_schema.py
U Zope3/trunk/src/zope/schema/tests/test_boolfield.py
U Zope3/trunk/src/zope/schema/tests/test_containerfield.py
U Zope3/trunk/src/zope/schema/tests/test_date.py
U Zope3/trunk/src/zope/schema/tests/test_datetime.py
U Zope3/trunk/src/zope/schema/tests/test_dictfield.py
U Zope3/trunk/src/zope/schema/tests/test_equality.py
U Zope3/trunk/src/zope/schema/tests/test_field.py
U Zope3/trunk/src/zope/schema/tests/test_fieldproperty.py
U Zope3/trunk/src/zope/schema/tests/test_floatfield.py
U Zope3/trunk/src/zope/schema/tests/test_interfacefield.py
U Zope3/trunk/src/zope/schema/tests/test_intfield.py
U Zope3/trunk/src/zope/schema/tests/test_iterablefield.py
U Zope3/trunk/src/zope/schema/tests/test_listfield.py
U Zope3/trunk/src/zope/schema/tests/test_objectfield.py
U Zope3/trunk/src/zope/schema/tests/test_schema.py
U Zope3/trunk/src/zope/schema/tests/test_strfield.py
U Zope3/trunk/src/zope/server/dualmodechannel.py
U Zope3/trunk/src/zope/server/ftp/server.py
U Zope3/trunk/src/zope/server/ftp/tests/test_ftpserver.py
U Zope3/trunk/src/zope/server/http/httpserver.py
U Zope3/trunk/src/zope/server/http/httpserverchannel.py
U Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py
U Zope3/trunk/src/zope/server/http/tests/test_httpdate.py
U Zope3/trunk/src/zope/server/http/tests/test_httprequestparser.py
U Zope3/trunk/src/zope/server/http/tests/test_httpserver.py
U Zope3/trunk/src/zope/server/interfaces/logger.py
U Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py
U Zope3/trunk/src/zope/server/logger/rotatingfilelogger.py
U Zope3/trunk/src/zope/server/logger/socketlogger.py
U Zope3/trunk/src/zope/server/logger/sysloglogger.py
U Zope3/trunk/src/zope/server/logger/tests/test_pythonlogger.py
U Zope3/trunk/src/zope/tal/driver.py
U Zope3/trunk/src/zope/tal/runtest.py
U Zope3/trunk/src/zope/testing/__init__.py
U Zope3/trunk/src/zwiki/tests/test_traversable.py
-=-
Modified: Zope3/trunk/src/zope/app/basicskin/tests/test_standardmacros.py
===================================================================
--- Zope3/trunk/src/zope/app/basicskin/tests/test_standardmacros.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/basicskin/tests/test_standardmacros.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Basic skin standard macros
$Id$
"""
Modified: Zope3/trunk/src/zope/app/component/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/component/metadirectives.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/component/metadirectives.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Component architecture related 'zope' ZCML namespace directive interfaces
+
$Id$
"""
-
import zope.configuration.fields
import zope.interface
import zope.schema
@@ -39,9 +39,7 @@
)
class IBasicViewInformation(zope.interface.Interface):
- """
- This is the basic information for all views.
- """
+ """This is the basic information for all views."""
for_ = zope.configuration.fields.Tokens(
title=u"Specifications of the objects to be viewed",
@@ -235,9 +233,7 @@
)
class IUtilityDirective(IBasicComponentInformation):
- """
- Register a utility
- """
+ """Register a utility"""
provides = zope.configuration.fields.GlobalObject(
title=u"Interface the component provides",
@@ -250,9 +246,7 @@
)
class IFactoryDirective(zope.interface.Interface):
- """
- Define a factory
- """
+ """Define a factory"""
component = zope.configuration.fields.GlobalObject(
title=u"Component to be used",
@@ -280,9 +274,7 @@
class IViewDirective(IBasicViewInformation, IBasicResourceInformation):
- """
- Register a view for a component
- """
+ """Register a view for a component"""
factory = zope.configuration.fields.Tokens(
title=u"Factory",
@@ -312,9 +304,7 @@
class IResourceDirective(IBasicComponentInformation,
IBasicResourceInformation):
- """
- Register a resource
- """
+ """Register a resource"""
layer = zope.schema.TextLine(
title=u"The layer the resource is in.",
@@ -347,9 +337,7 @@
)
class IServiceDirective(IBasicComponentInformation):
- """
- Register a service
- """
+ """Register a service"""
serviceType = zope.schema.TextLine(
title=u"ID of service type",
@@ -357,9 +345,7 @@
)
class IClassDirective(zope.interface.Interface):
- """
- Make statements about a class
- """
+ """Make statements about a class"""
class_ = zope.configuration.fields.GlobalObject(
title=u"Class",
@@ -367,8 +353,7 @@
)
class IImplementsSubdirective(zope.interface.Interface):
- """
- Declare that the class given by the content directive's class
+ """Declare that the class given by the content directive's class
attribute implements a given interface
"""
@@ -379,8 +364,7 @@
)
class IRequireSubdirective(zope.interface.Interface):
- """
- Indicate that the a specified list of names or the names in a
+ """Indicate that the a specified list of names or the names in a
given Interface require a given permission for access.
"""
@@ -453,9 +437,7 @@
)
class IFactorySubdirective(zope.interface.Interface):
- """
- Specify the factory used to create this content object
- """
+ """Specify the factory used to create this content object"""
id = zope.schema.TextLine(
title=u"ID",
Modified: Zope3/trunk/src/zope/app/component/tests/test_contentdirective.py
===================================================================
--- Zope3/trunk/src/zope/app/component/tests/test_contentdirective.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/component/tests/test_contentdirective.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test 'zope:content' directive.
$Id$
"""
Modified: Zope3/trunk/src/zope/app/container/browser/ftests/test_contents.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/ftests/test_contents.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/container/browser/ftests/test_contents.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Functional tests for the Container's 'Contents' view
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/container/browser/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/metaconfigure.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/container/browser/metaconfigure.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Container-specific 'browser' ZCML namespace directive handlers
+
$Id$
"""
-
from zope.interface import Interface
from zope.configuration.fields import GlobalObject
from zope.schema import Id
Modified: Zope3/trunk/src/zope/app/content/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/content/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/content/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,16 +11,17 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Content Type convenience lookup functions
+
$Id$
"""
-
+__docformat__ = 'restructuredtext'
from zope.app.interface import queryType
from zope.app.content.interfaces import IContentType
def queryContentType(object):
- """Returns the interface implemented by object which implements IContentType.
- """
+ """Returns the interface implemented by object which implements
+ ``IContentType``."""
return queryType(object, IContentType)
Modified: Zope3/trunk/src/zope/app/copypastemove/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/copypastemove/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/copypastemove/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Copy, Paste and Move support for content components
+
$Id$
"""
from zope.interface import implements, Invalid
Modified: Zope3/trunk/src/zope/app/copypastemove/tests/test_rename.py
===================================================================
--- Zope3/trunk/src/zope/app/copypastemove/tests/test_rename.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/copypastemove/tests/test_rename.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test renaming of components
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/trunk/src/zope/app/dav/tests/test_propfind.py
===================================================================
--- Zope3/trunk/src/zope/app/dav/tests/test_propfind.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dav/tests/test_propfind.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,9 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""WebDAV ``PROPFIND`` HTTP verb implementation
+
$Id$
"""
+__docformat__ = 'restructuredtext'
from StringIO import StringIO
from unittest import TestCase, TestSuite, main, makeSuite
from datetime import datetime
Modified: Zope3/trunk/src/zope/app/demo/hellopackage/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/demo/hellopackage/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/demo/hellopackage/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -1,17 +1 @@
-##############################################################################
-#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-
-$Id$
-"""
+# Make directory a package
Modified: Zope3/trunk/src/zope/app/demo/hellopackage/hellomodule.py
===================================================================
--- Zope3/trunk/src/zope/app/demo/hellopackage/hellomodule.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/demo/hellopackage/hellomodule.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Hello Content Component
+
$Id$
"""
from interfaces import IHello
Modified: Zope3/trunk/src/zope/app/demo/hellopackage/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/demo/hellopackage/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/demo/hellopackage/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Hello content component interfaces
+
$Id$
"""
-
from zope.interface import Interface
class IHello(Interface):
Modified: Zope3/trunk/src/zope/app/demo/hellopackage/tests/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/demo/hellopackage/tests/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/demo/hellopackage/tests/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -1,17 +1 @@
-##############################################################################
-#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-
-$Id$
-"""
+# Make directory a package
Modified: Zope3/trunk/src/zope/app/dependable/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/dependable/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dependable/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dependable framework interfaces
+
$Id$
"""
-
from zope.interface import Interface
from zope.app.exception.interfaces import UserError
@@ -38,12 +38,5 @@
"""Return a sequence of dependent object locations.
"""
-__doc__ = IDependable.__doc__ + __doc__
-
-
-"""
-$Id$
-"""
-
class DependencyError(UserError):
""" This object is dependable"""
Modified: Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DTML Page content component
+
$Id$
"""
from persistent import Persistent
Modified: Zope3/trunk/src/zope/app/dtmlpage/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dtmlpage/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DTML Page content component interfaces
+
$Id$
"""
import zope.schema
Modified: Zope3/trunk/src/zope/app/dtmlpage/tests/test_dtmlpage.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/tests/test_dtmlpage.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dtmlpage/tests/test_dtmlpage.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,12 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Basic tests for Page Templates used in content-space.
+"""Basic tests for Page Templates used in content-space.
$Id$
"""
-
import unittest
from zope.security.checker import NamesChecker, defineChecker
Modified: Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py
===================================================================
--- Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dublin Core Annotatable Adapter
+
$Id$
"""
from persistent.dict import PersistentDict
Modified: Zope3/trunk/src/zope/app/dublincore/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/dublincore/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/dublincore/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dublin Core interfaces
+
$Id$
"""
-
from zope.app.annotation.interfaces import IAnnotatable
from zope.interface import Interface
from zope.schema import Text, TextLine, Datetime, List
Modified: Zope3/trunk/src/zope/app/event/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/event/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/event/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,9 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Event Package
$Id$
"""
-
from dispatching import publish
Modified: Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -9,10 +9,10 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
##############################################################################
-"""
+"""External Editor Browser Package
+
$Id$
"""
-
from zope.app import zapi
from zope.app.publisher.browser import BrowserView
from zope.app.filerepresentation.interfaces import IReadFile, IWriteFile
Modified: Zope3/trunk/src/zope/app/externaleditor/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/externaleditor/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/externaleditor/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -9,7 +9,8 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
##############################################################################
-"""
+"""External Editor interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/app/file/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/file/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/file/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""File and Image content components
+
$Id$
"""
-
from file import File
from image import Image
Modified: Zope3/trunk/src/zope/app/file/browser/tests/test_imagedata.py
===================================================================
--- Zope3/trunk/src/zope/app/file/browser/tests/test_imagedata.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/file/browser/tests/test_imagedata.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Image Data handling
$Id$
"""
-
import unittest
from zope.app.file.image import Image
Modified: Zope3/trunk/src/zope/app/file/image.py
===================================================================
--- Zope3/trunk/src/zope/app/file/image.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/file/image.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Image content type implementation
+
$Id$
"""
import struct
Modified: Zope3/trunk/src/zope/app/file/tests/test_file.py
===================================================================
--- Zope3/trunk/src/zope/app/file/tests/test_file.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/file/tests/test_file.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test File content component.
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/file/tests/test_image.py
===================================================================
--- Zope3/trunk/src/zope/app/file/tests/test_image.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/file/tests/test_image.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Image content component
$Id$
"""
Modified: Zope3/trunk/src/zope/app/folder/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/folder/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Folder content component
+
$Id$
"""
-
from folder import Folder, rootFolder
Modified: Zope3/trunk/src/zope/app/folder/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/tests.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/folder/tests.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Folder content component tests
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/form/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/form/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic Widget base classes
+
$Id$
"""
from zope.app.form.interfaces import IWidget, InputErrors
Modified: Zope3/trunk/src/zope/app/form/browser/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Form and Widget Interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/app/form/browser/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/metadirectives.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/metadirectives.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Form and Widget specific 'browser' ZCML namespace interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_add.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_add.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_add.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test add-form
$Id$
"""
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_checkboxwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_checkboxwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_checkboxwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Checkbox Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_datetimewidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_datetimewidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_datetimewidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Datetime Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_datewidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_datewidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_datewidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Date Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_exception.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_exception.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_exception.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Exception Views tests
+
$Id$
"""
import unittest
@@ -22,4 +23,5 @@
DocTestSuite('zope.app.form.browser.exception'),
))
-if __name__ == '__main__': unittest.main()
+if __name__ == '__main__':
+ unittest.main(defaultTest='test_suite')
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_filewidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_filewidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_filewidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""File Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_floatwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_floatwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_floatwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Float Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_intwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_intwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_intwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Integer Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_multicheckboxwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_multicheckboxwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_multicheckboxwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Multi-Checkbox Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_objectwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_objectwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_objectwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Object Widget tests
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_passwordwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_passwordwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_passwordwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Password Widget Tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_radiowidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_radiowidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_radiowidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Radio Widget Tests
+
$Id$
"""
import os
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_setprefix.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_setprefix.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_setprefix.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Widget name prefix tests
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_textareawidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_textareawidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_textareawidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Textarea Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Text Widget tests
+
$Id$
"""
import unittest, doctest
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_widgetdocs.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_widgetdocs.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_widgetdocs.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic Text Widgets tests
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/http/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/http/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/http/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Zope-specific HTTP interfaces
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/i18n/browser/tests/test_translate.py
===================================================================
--- Zope3/trunk/src/zope/app/i18n/browser/tests/test_translate.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18n/browser/tests/test_translate.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Translation Domain 'Translate' screen.
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/i18n/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/i18n/metadirectives.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18n/metadirectives.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""'i18n' ZCML namespace directive interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/app/i18nfile/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/i18nfile/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18nfile/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware File and Image Package
+
$Id$
"""
-
from i18nfile import I18nFile
from i18nimage import I18nImage
Modified: Zope3/trunk/src/zope/app/i18nfile/i18nfile.py
===================================================================
--- Zope3/trunk/src/zope/app/i18nfile/i18nfile.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18nfile/i18nfile.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware File implementation
+
$Id$
"""
from persistent import Persistent
Modified: Zope3/trunk/src/zope/app/i18nfile/i18nimage.py
===================================================================
--- Zope3/trunk/src/zope/app/i18nfile/i18nimage.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18nfile/i18nimage.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware Image Content Component
+
$Id$
"""
-
from zope.interface import implements
from zope.app.file.image import Image, getImageInfo
from zope.app.i18nfile.i18nfile import I18nFile
Modified: Zope3/trunk/src/zope/app/i18nfile/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/i18nfile/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/i18nfile/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""I18n-aware file and image interfaces.
+
$Id$
"""
from zope.i18n.interfaces import II18nAware
Modified: Zope3/trunk/src/zope/app/introspector/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/introspector/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/introspector/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Introspector interfaces
+
$Id$
"""
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/app/publication/publicationtraverse.py
===================================================================
--- Zope3/trunk/src/zope/app/publication/publicationtraverse.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/publication/publicationtraverse.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Publication Traverser
+
$Id$
"""
from zope.component import queryViewProviding
Modified: Zope3/trunk/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/publisher/browser/tests/test_pagetemplateresource.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Page Template based Resources Test
+
$Id$
"""
-
import os
from unittest import TestCase, main, makeSuite
Modified: Zope3/trunk/src/zope/app/publisher/fileresource.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/fileresource.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/publisher/fileresource.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Browser File Resource
$Id$
"""
Modified: Zope3/trunk/src/zope/app/rdb/tests/test_doctests.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/tests/test_doctests.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rdb/tests/test_doctests.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,16 +11,15 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test RDB implementation
+
$Id$
"""
-
import unittest
from zope.testing.doctestunit import DocTestSuite
-import zope.app.rdb
def test_suite():
- return DocTestSuite(module=zope.app.rdb)
+ return DocTestSuite('zope.app.rdb')
if __name__=='__main__':
unittest.main(defaultTest='test_suite')
Modified: Zope3/trunk/src/zope/app/rdb/tests/test_dsnparser.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/tests/test_dsnparser.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rdb/tests/test_dsnparser.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""DSN Parser tests
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/rdb/tests/test_zopeconnection.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/tests/test_zopeconnection.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rdb/tests/test_zopeconnection.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Zope Connection component
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from transaction import get_transaction
from zope.app.rdb import ZopeConnection
Modified: Zope3/trunk/src/zope/app/rdb/tests/test_zopecursor.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/tests/test_zopecursor.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rdb/tests/test_zopecursor.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Zope Cursor component
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from zope.app.rdb import ZopeConnection
from zope.app.rdb import ZopeCursor
Modified: Zope3/trunk/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py
===================================================================
--- Zope3/trunk/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rdb/tests/test_zopedbtransactionmanager.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Zope DB Transaction Manager tests.
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite, TestSuite
from transaction import get_transaction
from transaction.tests.abstestIDataManager import IDataManagerTests
Modified: Zope3/trunk/src/zope/app/registration/tests/test_registered.py
===================================================================
--- Zope3/trunk/src/zope/app/registration/tests/test_registered.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/registration/tests/test_registered.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Registered components tests
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/trunk/src/zope/app/registration/tests/test_registrationmanager.py
===================================================================
--- Zope3/trunk/src/zope/app/registration/tests/test_registrationmanager.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/registration/tests/test_registrationmanager.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Registration Manager tests
+
$Id$
"""
from unittest import TestSuite, TestCase, main, makeSuite
Modified: Zope3/trunk/src/zope/app/rotterdam/standardmacros.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/standardmacros.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rotterdam/standardmacros.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotterdam layer standard macros
+
$Id$
"""
from zope.app.basicskin.standardmacros import StandardMacros as BaseMacros
Modified: Zope3/trunk/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rotterdam/tests/test_xmlnavigationviews.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""XML Navigation Tree Tests
+
$Id$
"""
from unittest import TestCase, TestLoader, TextTestRunner
Modified: Zope3/trunk/src/zope/app/rotterdam/tests/util.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/tests/util.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/rotterdam/tests/util.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotterdam utilities tests
+
$Id$
"""
import os
Modified: Zope3/trunk/src/zope/app/schema/tests/test_schemautility.py
===================================================================
--- Zope3/trunk/src/zope/app/schema/tests/test_schemautility.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/schema/tests/test_schemautility.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Persistent Schemas
+
$Id$
"""
from unittest import TestCase, makeSuite, TestSuite
Modified: Zope3/trunk/src/zope/app/security/tests/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/security/tests/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/security/tests/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Security Tests
+
$Id$
"""
-
from zope.app import zapi
from zope.app.security.permission import Permission
from zope.app.security.interfaces import IPermission
Modified: Zope3/trunk/src/zope/app/securitypolicy/permissionroles.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/permissionroles.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/securitypolicy/permissionroles.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Permission to Roles Map implementation
+
$Id$
"""
from zope.interface import implements
Modified: Zope3/trunk/src/zope/app/securitypolicy/rolepermission.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/rolepermission.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/securitypolicy/rolepermission.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Permission to Roles Manager (Adapter)
+
$Id$
"""
from zope.interface import implements
Modified: Zope3/trunk/src/zope/app/session/ftests.py
===================================================================
--- Zope3/trunk/src/zope/app/session/ftests.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/session/ftests.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -1,4 +1,3 @@
-# -*- coding: ascii -*-
##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors.
@@ -12,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Session functional tests.
+
$Id: tests.py 26427 2004-07-12 16:05:02Z Zen $
"""
import unittest
Modified: Zope3/trunk/src/zope/app/session/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/session/tests.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/session/tests.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -1,4 +1,3 @@
-# -*- coding: ascii -*-
##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors.
@@ -12,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Session tests
+
$Id$
"""
import unittest, doctest, os, os.path, sys
Modified: Zope3/trunk/src/zope/app/sqlscript/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/sqlscript/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/sqlscript/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script content type
+
$Id$
"""
-
from sqlscript import SQLScript
Modified: Zope3/trunk/src/zope/app/sqlscript/dtml.py
===================================================================
--- Zope3/trunk/src/zope/app/sqlscript/dtml.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/sqlscript/dtml.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Custom DTML Tags for SQL Script
+
$Id$
"""
import sys
Modified: Zope3/trunk/src/zope/app/sqlscript/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/sqlscript/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/sqlscript/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script interfaces
+
$Id$
"""
import zope.schema
Modified: Zope3/trunk/src/zope/app/sqlscript/sqlscript.py
===================================================================
--- Zope3/trunk/src/zope/app/sqlscript/sqlscript.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/sqlscript/sqlscript.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""SQL Script content component implementation
+
$Id$
"""
import re
Modified: Zope3/trunk/src/zope/app/tests/test.py
===================================================================
--- Zope3/trunk/src/zope/app/tests/test.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/tests/test.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -12,8 +12,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-test.py [-abBcdDfFgGhklLmMPprstTuUv] [modfilter [testfilter...]]
+"""test.py [-abBcdDfFgGhklLmMPprstTuUv] [modfilter [testfilter...]]
Find and run tests written using the unittest module.
Modified: Zope3/trunk/src/zope/app/traversing/api.py
===================================================================
--- Zope3/trunk/src/zope/app/traversing/api.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/traversing/api.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Convenience functions for traversing the object tree.
+"""Convenience functions for traversing the object tree.
$Id$
"""
Modified: Zope3/trunk/src/zope/app/tree/tests/test_encoder.py
===================================================================
--- Zope3/trunk/src/zope/app/tree/tests/test_encoder.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/tree/tests/test_encoder.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test Tree Utilities (including Encoder)
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/undo/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/undo/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/undo/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Support
+
$Id$
"""
from datetime import datetime
Modified: Zope3/trunk/src/zope/app/undo/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/undo/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/undo/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Interfaces
+
$Id$
"""
Modified: Zope3/trunk/src/zope/app/undo/tests/test_prefix.py
===================================================================
--- Zope3/trunk/src/zope/app/undo/tests/test_prefix.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/undo/tests/test_prefix.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Undo Tests
+
$Id$
"""
import unittest
Modified: Zope3/trunk/src/zope/app/undo/tests/test_zodbundomanager.py
===================================================================
--- Zope3/trunk/src/zope/app/undo/tests/test_zodbundomanager.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/undo/tests/test_zodbundomanager.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""ZODB Undo-manager tests
+
$Id$
"""
-
from time import time
from unittest import TestCase, main, makeSuite
from transaction import get_transaction
Modified: Zope3/trunk/src/zope/app/uniqueid/ftests.py
===================================================================
--- Zope3/trunk/src/zope/app/uniqueid/ftests.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/uniqueid/ftests.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Functional tests for the unique id utility.
+"""Functional tests for the unique id utility.
$Id$
"""
Modified: Zope3/trunk/src/zope/app/zptpage/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/zptpage/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/zptpage/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""ZPT Page content type
+
$Id$
"""
-
from zptpage import ZPTPage
Modified: Zope3/trunk/src/zope/app/zptpage/tests/test_zptpageeval.py
===================================================================
--- Zope3/trunk/src/zope/app/zptpage/tests/test_zptpageeval.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/app/zptpage/tests/test_zptpageeval.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-"""
+"""Test ZPT Page Evaluation
+
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
from zope.app.container.contained import contained
Modified: Zope3/trunk/src/zope/component/service.py
===================================================================
--- Zope3/trunk/src/zope/component/service.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/component/service.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Service Manager implementation
$Id$
"""
Modified: Zope3/trunk/src/zope/component/tests/test_service.py
===================================================================
--- Zope3/trunk/src/zope/component/tests/test_service.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/component/tests/test_service.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test ServiceService component
$Id$
"""
Modified: Zope3/trunk/src/zope/exceptions/_duplicate.py
===================================================================
--- Zope3/trunk/src/zope/exceptions/_duplicate.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/exceptions/_duplicate.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Duplication Error
+
$Id$
"""
from zope.exceptions import ZopeError, IZopeError
Modified: Zope3/trunk/src/zope/exceptions/_forbidden.py
===================================================================
--- Zope3/trunk/src/zope/exceptions/_forbidden.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/exceptions/_forbidden.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Forbidden Error
$Id$
"""
Modified: Zope3/trunk/src/zope/exceptions/_notfounderror.py
===================================================================
--- Zope3/trunk/src/zope/exceptions/_notfounderror.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/exceptions/_notfounderror.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Not Found Error
+
$Id$
"""
from zope.exceptions import ZopeError, IZopeError
Modified: Zope3/trunk/src/zope/interface/exceptions.py
===================================================================
--- Zope3/trunk/src/zope/interface/exceptions.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/interface/exceptions.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface-specific exceptions
$Id$
"""
Modified: Zope3/trunk/src/zope/interface/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/interface/interfaces.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/interface/interfaces.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface Package Interfaces
$Id$
"""
Modified: Zope3/trunk/src/zope/modulealias/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/modulealias/metaconfigure.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/modulealias/metaconfigure.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,15 +11,18 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Module Aliases Package
modulealiases package allows you to make module alias declarations via zcml,
-e.g.:
+e.g.::
-<modulealias module="some.existing.package" alias="some.nonexistent.package" />
+ <modulealias
+ module="some.existing.package"
+ alias="some.nonexistent.package" />
$Id$
"""
+__docformat__ = 'restructuredtext'
import sys
import types
Modified: Zope3/trunk/src/zope/publisher/tests/httprequest.py
===================================================================
--- Zope3/trunk/src/zope/publisher/tests/httprequest.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/publisher/tests/httprequest.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Test request for writing tests that need HTTP requests.
+"""Test request for writing tests that need HTTP requests.
Note that this is used by tests in other packages.
Modified: Zope3/trunk/src/zope/publisher/tests/test_ftp.py
===================================================================
--- Zope3/trunk/src/zope/publisher/tests/test_ftp.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/publisher/tests/test_ftp.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Publisher Tests
+
$Id$
"""
-
import sys
from cStringIO import StringIO
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/trunk/src/zope/schema/_bootstrapfields.py
===================================================================
--- Zope3/trunk/src/zope/schema/_bootstrapfields.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/_bootstrapfields.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Bootstrapping fields
+
$Id$
"""
from zope.interface import Attribute, providedBy, implements
Modified: Zope3/trunk/src/zope/schema/_schema.py
===================================================================
--- Zope3/trunk/src/zope/schema/_schema.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/_schema.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Schema convenience functions
+
$Id$
"""
Modified: Zope3/trunk/src/zope/schema/tests/test_boolfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_boolfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_boolfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Boolean field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_containerfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_containerfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_containerfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Container field tests
+
$Id$
"""
from UserDict import UserDict
Modified: Zope3/trunk/src/zope/schema/tests/test_date.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_date.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_date.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Date field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_datetime.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_datetime.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_datetime.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Datetime Field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_dictfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_dictfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_dictfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dictionary field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_equality.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_equality.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_equality.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Field equality tests
+
$Id$
"""
from unittest import TestCase, TestSuite, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_field.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_field.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_field.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Generic field tests
+
$Id$
"""
from unittest import TestCase, TestSuite, main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_fieldproperty.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_fieldproperty.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_fieldproperty.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Field Properties tests
+
$Id$
"""
Modified: Zope3/trunk/src/zope/schema/tests/test_floatfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_floatfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_floatfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Float field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_interfacefield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_interfacefield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_interfacefield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Interface field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_intfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_intfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_intfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Integer field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_iterablefield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_iterablefield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_iterablefield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Iterable field tests
+
$Id$
"""
from UserDict import UserDict, IterableUserDict
Modified: Zope3/trunk/src/zope/schema/tests/test_listfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_listfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_listfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""List field tests
+
$Id$
"""
from unittest import main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_objectfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_objectfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_objectfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-This set of tests exercises Objects.
+"""This set of tests exercises Object fields.
$Id$
"""
Modified: Zope3/trunk/src/zope/schema/tests/test_schema.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_schema.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_schema.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Schema field tests
+
$Id$
"""
from unittest import TestCase, main, makeSuite
Modified: Zope3/trunk/src/zope/schema/tests/test_strfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_strfield.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/schema/tests/test_strfield.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""String field tests
+
$Id$
"""
from unittest import TestSuite, main, makeSuite
Modified: Zope3/trunk/src/zope/server/dualmodechannel.py
===================================================================
--- Zope3/trunk/src/zope/server/dualmodechannel.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/dualmodechannel.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Dual-mode channel
$Id$
"""
-
import asyncore
import socket
from time import time
Modified: Zope3/trunk/src/zope/server/ftp/server.py
===================================================================
--- Zope3/trunk/src/zope/server/ftp/server.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/ftp/server.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,25 +11,25 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Server
$Id$
"""
-
+import asyncore
import posixpath
import socket
from datetime import date, timedelta
from getopt import getopt, GetoptError
-import asyncore
+
from zope.exceptions import Unauthorized
-from zope.server.serverbase import ServerBase
+from zope.interface import implements
+from zope.server.buffers import OverflowableBuffer
+from zope.server.interfaces import ITask
from zope.server.interfaces.ftp import IFileSystemAccess
+from zope.server.interfaces.ftp import IFTPCommandHandler
from zope.server.linereceiver.lineserverchannel import LineServerChannel
-from zope.server.interfaces.ftp import IFTPCommandHandler
+from zope.server.serverbase import ServerBase
from zope.server.serverchannelbase import ChannelBaseClass
-from zope.server.buffers import OverflowableBuffer
-from zope.server.interfaces import ITask
-from zope.interface import implements
status_messages = {
'OPEN_DATA_CONN' : '150 Opening %s mode data connection for file list',
Modified: Zope3/trunk/src/zope/server/ftp/tests/test_ftpserver.py
===================================================================
--- Zope3/trunk/src/zope/server/ftp/tests/test_ftpserver.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/ftp/tests/test_ftpserver.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,35 +11,26 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""FTP Server tests
$Id$
"""
-
import asyncore
-
-import unittest
+import ftplib
import socket
+import unittest
+from time import time
from types import StringType
from StringIO import StringIO
-
from threading import Thread, Event
-from zope.server.taskthreads import ThreadedTaskDispatcher
-from zope.server.ftp.server import FTPServer, status_messages
-from zope.server.adjustments import Adjustments
+from zope.server.adjustments import Adjustments
+from zope.server.ftp.server import FTPServer, status_messages
from zope.server.ftp.tests import demofs
-
+from zope.server.taskthreads import ThreadedTaskDispatcher
from zope.server.tests.asyncerror import AsyncoreErrorHook
-
from zope.server.trigger import trigger
-
-import ftplib
-
-from time import time
-
-
td = ThreadedTaskDispatcher()
LOCALHOST = '127.0.0.1'
Modified: Zope3/trunk/src/zope/server/http/httpserver.py
===================================================================
--- Zope3/trunk/src/zope/server/http/httpserver.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/httpserver.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Server
+
This server uses asyncore to accept connections and do initial
processing but threads to do work.
Modified: Zope3/trunk/src/zope/server/http/httpserverchannel.py
===================================================================
--- Zope3/trunk/src/zope/server/http/httpserverchannel.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/httpserverchannel.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Server Channel
$Id$
"""
-
from zope.server.serverchannelbase import ServerChannelBase
from zope.server.http.httptask import HTTPTask
from zope.server.http.httprequestparser import HTTPRequestParser
Modified: Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py
===================================================================
--- Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Common Access Logger tests
$Id$
"""
-
import unittest
import logging
Modified: Zope3/trunk/src/zope/server/http/tests/test_httpdate.py
===================================================================
--- Zope3/trunk/src/zope/server/http/tests/test_httpdate.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/tests/test_httpdate.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test HTTP date converters
$Id$
"""
-
import unittest
from zope.server.http.http_date import build_http_date, parse_http_date
Modified: Zope3/trunk/src/zope/server/http/tests/test_httprequestparser.py
===================================================================
--- Zope3/trunk/src/zope/server/http/tests/test_httprequestparser.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/tests/test_httprequestparser.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""HTTP Request Parser tests
$Id$
"""
-
import unittest
from zope.server.http.httprequestparser import HTTPRequestParser
from zope.server.adjustments import Adjustments
Modified: Zope3/trunk/src/zope/server/http/tests/test_httpserver.py
===================================================================
--- Zope3/trunk/src/zope/server/http/tests/test_httpserver.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/http/tests/test_httpserver.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test HTTP Server
$Id$
"""
-
import unittest
from asyncore import socket_map, poll
import socket
Modified: Zope3/trunk/src/zope/server/interfaces/logger.py
===================================================================
--- Zope3/trunk/src/zope/server/interfaces/logger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/interfaces/logger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Logger interfaces
$Id$
"""
-
from zope.interface import Interface
Modified: Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py
===================================================================
--- Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Line receiver channel
+This channels evaluates requests line by line. This is particular useful for
+protocols that use a line-based command structure.
+
$Id$
"""
Modified: Zope3/trunk/src/zope/server/logger/rotatingfilelogger.py
===================================================================
--- Zope3/trunk/src/zope/server/logger/rotatingfilelogger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/logger/rotatingfilelogger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,12 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Rotating File Logger
+Rotates a log file in time intervals.
+
$Id$
"""
-
import time
import os
import stat
Modified: Zope3/trunk/src/zope/server/logger/socketlogger.py
===================================================================
--- Zope3/trunk/src/zope/server/logger/socketlogger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/logger/socketlogger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,12 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Socket Logger
+Sends logging messages to a socket.
+
$Id$
"""
-
import asynchat
import socket
Modified: Zope3/trunk/src/zope/server/logger/sysloglogger.py
===================================================================
--- Zope3/trunk/src/zope/server/logger/sysloglogger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/logger/sysloglogger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Syslog Logger
+Writes log messages to syslog.
+
$Id$
"""
Modified: Zope3/trunk/src/zope/server/logger/tests/test_pythonlogger.py
===================================================================
--- Zope3/trunk/src/zope/server/logger/tests/test_pythonlogger.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/server/logger/tests/test_pythonlogger.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,11 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Python Logger tests
$Id$
"""
-
import unittest
import logging
from zope.interface.verify import verifyObject
Modified: Zope3/trunk/src/zope/tal/driver.py
===================================================================
--- Zope3/trunk/src/zope/tal/driver.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/tal/driver.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -12,8 +12,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Driver program to test METAL and TAL implementation.
+"""Driver program to test METAL and TAL implementation.
Usage: driver.py [options] [file]
Options:
Modified: Zope3/trunk/src/zope/tal/runtest.py
===================================================================
--- Zope3/trunk/src/zope/tal/runtest.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/tal/runtest.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -12,10 +12,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+"""Driver program to run METAL and TAL regression tests.
+
+$Id$
"""
-Driver program to run METAL and TAL regression tests.
-"""
-
import glob
import os
import sys
Modified: Zope3/trunk/src/zope/testing/__init__.py
===================================================================
--- Zope3/trunk/src/zope/testing/__init__.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zope/testing/__init__.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,8 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Set up testing environment
+"""Set up testing environment
$Id$
"""
Modified: Zope3/trunk/src/zwiki/tests/test_traversable.py
===================================================================
--- Zope3/trunk/src/zwiki/tests/test_traversable.py 2004-07-16 06:18:55 UTC (rev 26566)
+++ Zope3/trunk/src/zwiki/tests/test_traversable.py 2004-07-16 06:58:27 UTC (rev 26567)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Test custom Wiki traverser.
$Id$
"""
More information about the Zope3-Checkins
mailing list