r363 - in branches/rewrite: . src
Otavio Salvador
partial-mirror-devel@lists.alioth.debian.org
Mon, 22 Nov 2004 18:06:45 -0700
Author: otavio
Date: Mon Nov 22 18:06:43 2004
New Revision: 363
Modified:
branches/rewrite/ (props changed)
branches/rewrite/src/Pool.py
Log:
r368@nurf: otavio | 2004-11-23T01:05:46.758134Z
Move debug code the better place.
Modified: branches/rewrite/src/Pool.py
==============================================================================
--- branches/rewrite/src/Pool.py (original)
+++ branches/rewrite/src/Pool.py Mon Nov 22 18:06:43 2004
@@ -58,11 +58,6 @@
else:
self._plist.append(pkg)
- # FIXME: Remove this. Debug code.
- print "This packages need to be downloaded:"
- for pkg in self._plist:
- print "%s" % (pkg['Filename'])
-
self._upgrade ()
@@ -76,10 +71,12 @@
self._get(p)
self._gotFiles.append(p['Filename'])
- def _get (self, pkg):
+ def _get (self, p):
"""
Get the a PackageList
+ TODO: Remove the print command.
"""
+ print p['Filename']
pass