Bug 112794
Summary: | [RFE] [rpm-python] Return [] for header types that return lists | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Paul Nasrat <nobody+pnasrat> | ||||
Component: | rpm-python | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | CC: | wtogami | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.3.0-7.1 | Doc Type: | Enhancement | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-01-26 10:55:25 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Paul Nasrat
2004-01-01 12:08:00 UTC
Created attachment 96737 [details]
test_obs.py
Test case for bindings, I'm going to check in working patch against HEAD, but
would be grateful for sanity check.
Hmmm, this looks fishy: ts.setFlags(-1) vsflags = ts.setVSFlags(~(rpm._RPMVSF_NOSIGNATURES)) I don't think you should do either. If you *must* disable signature checking, then ts.setVSFlags(-1) is all that is needed. ts.setFlags() should have sane defaults, and is really used to control ts.run() operation. NEEDINFO so's I don't have to stare at the bug. I got rid of both those lines a while back I think I uploaded an older version of the script. Basically this is fixed using the forceArray and switch for ENVRAO in HEAD and rpm-4.3-0.7.1 and above |