Re: rpmUtils cvs repository

seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Mon, 22 Mar 2004 22:35:17 -0500
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <1080012917.9830.9.camel@binkley>
On Mon, 2004-03-22 at 22:30 +0200, Ville Skyttä wrote:

> On Mon, 2004-03-22 at 08:54, seth vidal wrote:
> 
> >  I setup a cvs repo for the rpmUtils module I've been slowly assembling.
> 
> Cool.  Here's a snippet I've had around for some time: a raw
> implementation of rpm2cpio in Python, feel free to include if you find
> it useful.  Dunno if miscutils is the best place though.  (Yes, error
> checking / closing the input fd on errors could be improved a bit ;)
> 

I merged it in,

the gzip.GzipFile could probably use a try:except around it.

something to think about is a target python, should we just assume
python 2.1+ or go as high as 2.2? I don't think assuming 2.3 is a good
idea, yet.

2.1+ gets us stringInstance.find() stringInstance.rfind() etc, those can
be handy.

-sv