On Wed, May 17, 2006 at 12:40:51PM -0500, Bo Peng wrote:
> >I think you mean something like the attached.
> 
> No, the original one tries to strip ' plus \n, and then strip another
> ', from a line like
>  key = 'value'\n

Exact. This is what my patch does, too.

> I think you can do something like
>  values[key] = val.strip()
>  values[key].replace("'", '')

What is the advantage of this one?

> or, because this ugly part is translated from configure.m4, and the
> whole key value business is used *only* for the next chk_fontenc, you
> can remove it all, and replace it with things like:
> 
>  allvars = open('chkconfig.vars').read()
>  if allvars.match('chk_fontenc = "yes"'):
>    addToRC(....)
>  else:
>     addToRC(....)

I can only propose, I cannot do anything ;-)

-- 
Enrico

Reply via email to