From fdb477ae284068ed0ade7b5921ba11020482b095 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Thu, 6 Sep 2001 00:40:49 +0000 Subject: fix for #51498 --- comps.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'comps.py') diff --git a/comps.py b/comps.py index 67a881f7f..13f1562f4 100644 --- a/comps.py +++ b/comps.py @@ -740,6 +740,14 @@ class ComponentSet: if self.packages.has_key(dep): self.packages[dep].unselect () + def canResolveDeps (self, deps): + canresolve = 0 + if deps: + for (who, dep) in deps: + if dep != _("no suggestion"): + canresolve = 1 + return canresolve + def kernelVersionList(self): kernelVersions = [] -- cgit