summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-09-06 00:40:49 +0000
committerMatt Wilson <msw@redhat.com>2001-09-06 00:40:49 +0000
commitfdb477ae284068ed0ade7b5921ba11020482b095 (patch)
tree4c68fbe64df27bc4daa295527fd9914b5f284b67 /comps.py
parent4abb3220690ad8bfe0f0383942c7d489568f48ae (diff)
downloadanaconda-fdb477ae284068ed0ade7b5921ba11020482b095.tar.gz
anaconda-fdb477ae284068ed0ade7b5921ba11020482b095.tar.xz
anaconda-fdb477ae284068ed0ade7b5921ba11020482b095.zip
fix for #51498
Diffstat (limited to 'comps.py')
-rw-r--r--comps.py8
1 files changed, 8 insertions, 0 deletions
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 = []