r176 - branches/rewrite/src
Otavio Salvador
partial-mirror-devel@lists.alioth.debian.org
Thu, 22 Jul 2004 19:01:13 -0600
Author: otavio
Date: Thu Jul 22 19:01:12 2004
New Revision: 176
Modified:
branches/rewrite/src/PackageList.py
Log:
Did some cleanup.
Modified: branches/rewrite/src/PackageList.py
==============================================================================
--- branches/rewrite/src/PackageList.py (original)
+++ branches/rewrite/src/PackageList.py Thu Jul 22 19:01:12 2004
@@ -16,8 +16,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# $Id$
-from apt_pkg.cache import Package
-
class PackageAlreadyIncluded(Exception):
"""
Exception called when someone try to add a package but this was already included.
@@ -42,7 +40,11 @@
"""
This class is use to store a list of packages and provide ways to
filter the information against your information.
+
+ It make a cache by name, subsection and priority to make things
+ faster.
"""
+
_name = {}
_subsection = {}
_priority = {}