diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-12 01:31:24 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-12 01:31:24 +0000 |
commit | cbf7a293bae8df7c2d4c9dc396447144310ee716 (patch) | |
tree | ebd215538446dc5c42fc2e2faf5fbf3f06ce6eb8 /findpackageset.py | |
parent | ef6f6ddf33394a946818ba8a23d68f13802f259a (diff) | |
download | anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.tar.gz anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.tar.xz anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.zip |
fix for broken backwards rpm flags
Diffstat (limited to 'findpackageset.py')
-rw-r--r-- | findpackageset.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/findpackageset.py b/findpackageset.py index d2181da86..2444f2f2d 100644 --- a/findpackageset.py +++ b/findpackageset.py @@ -29,8 +29,7 @@ def addNewPackageToUpgSet(pkgDict, pkg): def findpackageset(hdrlist, dbPath='/'): ts = rpm.TransactionSet(dbPath) - ts.setVSFlags(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA) - ts.setFlags(rpm.RPMTRANS_FLAG_NOMD5) + ts.setVSFlags(~(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA|rpm.RPMVSF_NOMD5)) pkgDict = {} |