diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-20 03:07:31 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-20 03:07:31 +0000 |
commit | 3419c67e473c171d5cff9b669427da96f71b000c (patch) | |
tree | aa0504a7364632ede37e403bfb27978270ec8118 /src/lib/Server/Plugins/Packages.py | |
parent | 40dfb90f7e74529c55f68f0d132f19bcc8419615 (diff) | |
download | bcfg2-3419c67e473c171d5cff9b669427da96f71b000c.tar.gz bcfg2-3419c67e473c171d5cff9b669427da96f71b000c.tar.bz2 bcfg2-3419c67e473c171d5cff9b669427da96f71b000c.zip |
Packages: improve terseness of resolver debug messages
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5249 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Packages.py')
-rw-r--r-- | src/lib/Server/Plugins/Packages.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py index b2d3f83b7..46178e088 100644 --- a/src/lib/Server/Plugins/Packages.py +++ b/src/lib/Server/Plugins/Packages.py @@ -85,14 +85,13 @@ class Source(object): item = work.pop() seen.add(item) if self.is_package(metadata, item): - if debug: - logger.debug("Added Package %s" % item) newpkg.add(item) try: newdeps = [x for x in self.get_deps(metadata, item) \ if x not in newpkg and x not in work] if debug and newdeps: - logger.debug("Adding new deps " + str(newdeps)) + logger.debug("Package %s: adding new deps %s" \ + %(item, str(newdeps))) work.update(newdeps) except NoData: continue @@ -101,8 +100,8 @@ class Source(object): try: pset = self.get_provides(metadata, item) if debug: - logger.debug("Got provides for %s" % item) - logger.debug(pset) + logger.debug("VPackage %s: got provides %s" \ + % (item, list(pset))) if len(pset) == 1: work.update(pset) else: |