summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-02-02 21:46:01 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-02-02 21:46:01 +0000
commit334f3f1b66a55e0b714551d6e7a9d0189c77502f (patch)
tree3896dd4803e169f6d9edf98a9f4dc508aee94c7f /src/lib
parent965bb8ca00805997c0dea18d8c87fd5813c1ebce (diff)
downloadbcfg2-334f3f1b66a55e0b714551d6e7a9d0189c77502f.tar.gz
bcfg2-334f3f1b66a55e0b714551d6e7a9d0189c77502f.tar.bz2
bcfg2-334f3f1b66a55e0b714551d6e7a9d0189c77502f.zip
Fix erroneous report of extra configuration entities after they have been removed (resolves Ticket #6)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1723 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Redhat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index 9ddd0f142..9aaa2b1d2 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -110,6 +110,7 @@ class ToolsetImpl(Toolset):
self.CondPrint('verbose', "Removing packages: %s" % self.pkgwork['remove'])
if not system("rpm --quiet -e %s" % " ".join(self.pkgwork['remove'])):
self.pkgwork['remove'] = []
+ self.Refresh()
self.Inventory()
else:
self.CondDisplayList('verbose', "Need to remove packages", self.pkgwork['remove'])