Comment 8 for bug 897399

Revision history for this message
David Paleino (dpaleino) wrote : Re: [Bug 897399] Re: Identity/Domain problem in PEAP

On Mon, 29 Oct 2012 21:05:21 -0000, Julien wrote:

> Thanks for patching, David, and for testing, Julien! Sorry I can't test
> right now. David, does Python have regexp-ish replacement rules that
> you could use, to avoid having to deal with corner-cases and risking
> forgetting some replacements? [I'm just thinking aloud, there]

None that I know of, unfortunately. More or less all the solutions seem to be
the same.

The actual code shouldn't "forget" anything, since it loops over all found
$_VARIABLES, and if one of those has no value, it would just ignore the line.

Still, what intrigues me is what Julien (the other one :)) wrote, about the
duplicated lines. I'm not able to reproduce that behaviour.

I'm committing the current fix, and marking the bug has done; Julien (the other
one); if you could please check whether the "double line bug" really happens
after checking the template, and maybe using other templates too; that would be
really helpful.

--
 . ''`. Debian developer | http://wiki.debian.org/DavidPaleino
 : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
   `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174