summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-10-15 10:11:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-10-15 10:11:37 +0300
commit410bf68fd41a6b8c98e48ca77e093f2f6c6bda75 (patch)
treeec820040f66bd1d053ed57a726b2901a3421a66a /build
parent50ad087c1030be242ab658c818ba2990dd33855e (diff)
downloadrpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.tar.gz
rpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.tar.bz2
rpm-410bf68fd41a6b8c98e48ca77e093f2f6c6bda75.zip
Accept rpm.fd() types file objects everywhere in python bindings
- turn rpmfdFromPyObject() into a python-level object converter, add a separate C-level getter for the fd pointer itself - take advantage of python refcounting to handle differences between native vs converted rpm.fd in callers so we can simply decref the rpmfdFromPyObject() result without having to worry whether it was converted or not (ie should we close it or not)
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions