summaryrefslogtreecommitdiffstats
path: root/findpackageset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-12 01:31:24 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-12 01:31:24 +0000
commitcbf7a293bae8df7c2d4c9dc396447144310ee716 (patch)
treeebd215538446dc5c42fc2e2faf5fbf3f06ce6eb8 /findpackageset.py
parentef6f6ddf33394a946818ba8a23d68f13802f259a (diff)
downloadanaconda-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.py3
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 = {}