diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-05-22 15:02:59 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-05-22 15:02:59 +0000 |
commit | c270986d257a9c3d1bfa3fc8c3e0b2d8c85bf1c7 (patch) | |
tree | 25a18de4a0f0774f8fb670f9ba6415a8c0e5c7dc /src/lib | |
parent | ec937861bea0bba0a82073c9de752fd0fdd862f9 (diff) | |
download | bcfg2-c270986d257a9c3d1bfa3fc8c3e0b2d8c85bf1c7.tar.gz bcfg2-c270986d257a9c3d1bfa3fc8c3e0b2d8c85bf1c7.tar.bz2 bcfg2-c270986d257a9c3d1bfa3fc8c3e0b2d8c85bf1c7.zip |
APT.Remove: Split up package names properly
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5252 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index d92de503c..60863498f 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -128,7 +128,7 @@ class APT(Bcfg2.Client.Tools.Tool): if len(packages) > 0: self.logger.info('Removing packages:') self.logger.info(pkgnames) - for pkg in pkgnames: + for pkg in pkgnames.split(" "): self.pkg_cache[pkg].markDelete(purge=True) self.pkg_cache.commit() self.modified += packages |