bindings feature request
seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Thu, 25 Mar 2004 00:52:33 -0500
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <1080193953.16857.30.camel@binkley> |
Hi,
I would love it if the python bindings would act similarly to the
command line for erasures.
ie:
if I have foo.i386 and foo.x86_64 installed I can run rpm -e foo.i386
and it will remove _just_ the i386 arch of foo
if I do the equivalent in python:
ts.addErase('foo.i386')
it will remove all things named 'foo' in the rpmdb.
which seems very very dangerous :)
it'd be really grand if addErase() had a way to take a header like
addInstall does.
thanks
-sv