[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - app.py:1.16 cvsloader.py:1.14

Fred L. Drake, Jr. fred at zope.com
Fri Apr 2 13:56:51 EST 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv14793/zpkgtools

Modified Files:
	app.py cvsloader.py 
Log Message:
more documentation


=== Packages/zpkgtools/zpkgtools/app.py 1.15 => 1.16 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.15	Fri Apr  2 01:33:18 2004
+++ Packages/zpkgtools/zpkgtools/app.py	Fri Apr  2 13:56:51 2004
@@ -73,6 +73,14 @@
         self.handled_resources = sets.Set()
 
     def build_distribution(self):
+        """Create the distribution tree.
+
+        This method performs common actions for both types of
+        distribution, and then dispatches to either
+        `build_collection_distribution()` or
+        `build_package_distribution()` based on the type of the
+        primary resource.
+        """
         # This could be either a package distribution or a collection
         # distribution; it's the former if there's an __init__.py in
         # the source directory.


=== Packages/zpkgtools/zpkgtools/cvsloader.py 1.13 => 1.14 ===
--- Packages/zpkgtools/zpkgtools/cvsloader.py:1.13	Wed Mar 31 01:02:03 2004
+++ Packages/zpkgtools/zpkgtools/cvsloader.py	Fri Apr  2 13:56:51 2004
@@ -26,7 +26,12 @@
 
 
 class CvsLoadingError(Error):
-    """Raised when there was some error loading from CVS."""
+    """Raised when there was some error loading from CVS.
+
+    :Ivariables:
+      - `cvsurl`: Parsed cvs: URL object.
+      - `exitcode`: Return code of the CVS process.
+    """
 
     def __init__(self, cvsurl, exitcode):
         self.cvsurl = cvsurl




More information about the Zope-CVS mailing list