summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-19 19:17:35 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-19 19:17:35 +0000
commitf5ec4d1c4914aa88329663289aab92a6a3283dce (patch)
treef73819dd5dd2e3f8c2410f5598e8039937da6715 /src
parentfa10e4f2068f9c4ddf93e449d7bae7f16de66f96 (diff)
downloadbcfg2-f5ec4d1c4914aa88329663289aab92a6a3283dce.tar.gz
bcfg2-f5ec4d1c4914aa88329663289aab92a6a3283dce.tar.bz2
bcfg2-f5ec4d1c4914aa88329663289aab92a6a3283dce.zip
Removed not working comment, and added debug code to RefreshPackages
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2448 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/Encap.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/Client/Tools/Encap.py b/src/lib/Client/Tools/Encap.py
index af12ddcd0..c255a59a7 100644
--- a/src/lib/Client/Tools/Encap.py
+++ b/src/lib/Client/Tools/Encap.py
@@ -1,6 +1,3 @@
-# dclark: This is just stuff from Solaris.py munged together into what looked
-# like the right places, before making anything actually work.
-
'''Bcfg2 Support for Encap Packages'''
__revision__ = '$Revision$'
@@ -33,7 +30,8 @@ class Encap(Bcfg2.Client.Tools.PkgTool):
self.installed[match.group('name')] = match.group('version')
else:
print "Failed to split name %s" % pkg
- #print self.installed.keys()
+ self.logger.debug("Encap.py: RefreshPackages: self.installed.keys() are:")
+ self.logger.debug("%s" % self.installed.keys())
def VerifyPackage(self, entry, _):
'''Verify Package status for entry'''
@@ -57,4 +55,3 @@ class Encap(Bcfg2.Client.Tools.PkgTool):
self.cmd.run("/usr/local/bin/epkg -l -q -r %s" % (names))
self.RefreshPackages()
self.extra = self.FindExtraPackages()
-