<div dir="ltr">Reviewed-by: Crístian Deives <<a href="mailto:cristiandeives@gmail.com">cristiandeives@gmail.com</a>><br></div><br><div class="gmail_quote">On Wed, May 20, 2015 at 12:49 PM Paulo Ricardo Paz Vital <<a href="mailto:pvital@gmail.com">pvital@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Reviewed-by: Paulo Vital <<a href="mailto:pvital@gmail.com" target="_blank">pvital@gmail.com</a>><br>
<br>
> On 20 May 2015, at 12:18, Rodrigo Trujillo <<a href="mailto:rodrigo.trujillo@linux.vnet.ibm.com" target="_blank">rodrigo.trujillo@linux.vnet.ibm.com</a>> wrote:<br>
><br>
> This patch fixes a bug in interfaces.py. A parenthesis is missing, so<br>
> when the user tries to create a SLES ppc64 guest, kimchi is going to<br>
> raise the error:<br>
> AttributeError: 'unicode' object has no attribute 'version'<br>
><br>
> Signed-off-by: Rodrigo Trujillo <<a href="mailto:rodrigo.trujillo@linux.vnet.ibm.com" target="_blank">rodrigo.trujillo@linux.vnet.ibm.com</a>><br>
> ---<br>
> src/kimchi/xmlutils/interface.py | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/src/kimchi/xmlutils/interface.py b/src/kimchi/xmlutils/interface.py<br>
> index f725821..82ac505 100644<br>
> --- a/src/kimchi/xmlutils/interface.py<br>
> +++ b/src/kimchi/xmlutils/interface.py<br>
> @@ -56,7 +56,7 @@ def get_iface_xml(params, arch=None, os_distro=None, os_version=None):<br>
> ((os_distro == 'ubuntu' and<br>
> LooseVersion(os_version) >= LooseVersion('14.04')) or<br>
> (os_distro == 'sles' and<br>
> - LooseVersion(os_version >= LooseVersion('12')))):<br>
> + LooseVersion(os_version) >= LooseVersion('12'))):<br>
> interface.append(E.driver(name='qemu'))<br>
><br>
> return ET.tostring(interface, encoding='utf-8', pretty_print=True)<br>
> --<br>
> 2.1.0<br>
><br>
> _______________________________________________<br>
> Kimchi-devel mailing list<br>
> <a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
<br>
_______________________________________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
</blockquote></div>