r209 - branches/rewrite/src

Otavio Salvador partial-mirror-devel@lists.alioth.debian.org
Mon, 26 Jul 2004 17:14:10 -0600


Author: otavio
Date: Mon Jul 26 17:14:10 2004
New Revision: 209

Modified:
   branches/rewrite/src/Package.py
Log:
Add some doc about that class.

Modified: branches/rewrite/src/Package.py
==============================================================================
--- branches/rewrite/src/Package.py	(original)
+++ branches/rewrite/src/Package.py	Mon Jul 26 17:14:10 2004
@@ -38,6 +38,14 @@
         return None
 
 class SourcePackage(Package):
+    """
+    This class change the format of Files field provided by the
+    Sources file to a list of a dictionaries with following format:
+
+    { name: value,
+      md5sum: value,
+      size: value }
+    """
     def __init__(self, section):
         # First, we load the default information
         Package.__init__(self, section)