Re: Flags for --allmatches and --nodeps
Jeff Johnson <[email protected]> Mon, 17 Dec 2007 19:47:40 -0500
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <[email protected]> |
On Dec 17, 2007, at 7:20 PM, Mitko Haralanov wrote: > I am trying to duplicate the functionality of 'rpm -e --allmatches > --nodeps' with rpm.ts.addErase(). > > I found in the rpm source code the constants that are used for the two > command line options but they don't seem to be exported to the Python > module. > If the constants aren't exported, then just use numeric values or define your own constants. Not hard ... rpmlib just needs bits set, not named. 73 de Jeff