diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-10-09 20:35:26 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-10-09 20:35:26 +0000 |
commit | e9574a361e698e75b144bc020911a68f28e922a0 (patch) | |
tree | 13ad38ecb5be6a7eaaddb3666057b3cb095aa7b2 /comps.py | |
parent | 834f7e34a02cdbbbae0be9bfc70ff90006bc4344 (diff) | |
download | anaconda-e9574a361e698e75b144bc020911a68f28e922a0.tar.gz anaconda-e9574a361e698e75b144bc020911a68f28e922a0.tar.xz anaconda-e9574a361e698e75b144bc020911a68f28e922a0.zip |
rpm python api changes
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |