summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Packages.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 8d60b6e92..38364fbc8 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -494,7 +494,11 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
sources = self.get_matching_sources(meta)
for source in sources:
for pkgname in pkgnames:
- for rpkg in source.get_deps(meta, pkgname):
+ try:
+ deps = source.get_deps(meta, pkgname)
+ except:
+ continue
+ for rpkg in deps:
if rpkg in pkgnames:
redundant.add(rpkg)
return pkgnames.difference(redundant), redundant