Permit any file-like object in rpm.setLogFile()
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Oct 2009 11:54:47 +0000 (13:54 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Oct 2009 11:54:47 +0000 (13:54 +0200)
commit91a83f5e76790e5248780fa604ad2ac0aa3a68a1
treef19436dcbc74cd4a1e406186bb5b8bb24309299f
parent121b69b39529c2b5b9557eba96fd551e5295ccbd
Permit any file-like object in rpm.setLogFile()
- using PyObject_AsFileDescriptor() does away with another Python 3
  incompatibility and makes it more flexible.. but also more murky
  as rpmlogSetFile() only accepts FILE * streams...
python/rpmmodule.c