summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Debian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py
index fc5e3b2bc..7b915edc4 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -117,7 +117,7 @@ class ToolsetImpl(Bcfg2.Client.Toolset.Toolset):
if self.setup['dryrun']:
return
- if len(self.pkgwork) > 0:
+ if len(self.pkgwork['remove']) > 0:
if self.setup['remove'] in ['all', 'packages']:
self.logger.info('Removing packages:')
self.logger.info(self.pkgwork['remove'])