summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-09 20:35:26 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-09 20:35:26 +0000
commite9574a361e698e75b144bc020911a68f28e922a0 (patch)
tree13ad38ecb5be6a7eaaddb3666057b3cb095aa7b2 /comps.py
parent834f7e34a02cdbbbae0be9bfc70ff90006bc4344 (diff)
downloadanaconda-e9574a361e698e75b144bc020911a68f28e922a0.tar.gz
anaconda-e9574a361e698e75b144bc020911a68f28e922a0.tar.xz
anaconda-e9574a361e698e75b144bc020911a68f28e922a0.zip
rpm python api changes
Diffstat (limited to 'comps.py')
-rw-r--r--comps.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/comps.py b/comps.py
index 5bfff9771..d8ef69439 100644
--- a/comps.py
+++ b/comps.py
@@ -868,14 +868,14 @@ class ComponentSet:
for p in self.packages.values():
if p.selected:
- ts.add(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), how)
+ ts.addInstall(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), how)
else:
if extras.has_key(p.h):
- ts.add(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), how)
+ ts.addInstall(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), how)
else:
- ts.add(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), "a")
+ ts.addInstall(p.h, (p.h, p.h[rpm.RPMTAG_NAME]), "a")
- deps = ts.depcheck()
+ deps = ts.check()
checkDeps = 0
if not deps: