summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Packages.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-09-23 07:34:00 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-09-23 07:34:00 +0000
commitba84e728c008d134a12ddc5ab66a81bfa17c2650 (patch)
treed5ff27c47f5826e87d4ac57a9b576c7616cc32b9 /src/lib/Server/Plugins/Packages.py
parentcdfa988970de5dca8b29ff29c1d5d22c1a9556d8 (diff)
downloadbcfg2-ba84e728c008d134a12ddc5ab66a81bfa17c2650.tar.gz
bcfg2-ba84e728c008d134a12ddc5ab66a81bfa17c2650.tar.bz2
bcfg2-ba84e728c008d134a12ddc5ab66a81bfa17c2650.zip
Packages: Fix infinite loop problem with cyclic deps (Reported by david strauss)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5453 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Packages.py')
-rw-r--r--src/lib/Server/Plugins/Packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 181258ea3..e55017a7d 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -192,6 +192,7 @@ class Source(object):
unknown.add(item)
else:
unknown.add(item)
+ work.difference_update(seen)
return (newpkg, unknown)
class YUMSource(Source):