summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/APT.py2
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