<br><br><div class="gmail_quote">On Wed, Feb 25, 2009 at 4:02 PM, Itamar Reis Peixoto <span dir="ltr"><<a href="mailto:itamar@ispbrasil.com.br">itamar@ispbrasil.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anyone Can help to fix this bug with system-config-lvm ?<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=466899" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=466899</a><br>
<br>
is very easy to fix, but I have no skill's with python.<br>
<br>
<br>
</blockquote><div><br>The problem is that the comparison is using floats, <br>which will fail (1.41.3 > 1.39 --> invalid syntax):<br><br>            if (s == 0 or s == 1) and float(e.strip().split()[1]) >= 1.39:<br>
                return (True, cmd) <br></div></div><br>I think the easiest way, in this case, is using strings:<br><br>            if (s == 0 or s == 1) and e.strip().split()[1] >= '1.39':<br>                return (True, cmd)<br>
<br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>