Re: [libvirt] [libvirt-python PATCH] sanitytest: define long for python version >= 3

2014-10-07 Thread Ján Tomko
On 10/07/2014 11:49 AM, Pavel Hrdina wrote: > On 10/07/2014 10:38 AM, Martin Kletzander wrote: >> Commit c58c7f362aab37e4961407c2efc8a74925ed9c37 fixed 32-bit python >> build but broke build with python3 due to the lack of 'long' in the >> newer version of python. This patch aims to fix it with a

Re: [libvirt] [libvirt-python PATCH] sanitytest: define long for python version >= 3

2014-10-07 Thread Pavel Hrdina
On 10/07/2014 10:38 AM, Martin Kletzander wrote: Commit c58c7f362aab37e4961407c2efc8a74925ed9c37 fixed 32-bit python build but broke build with python3 due to the lack of 'long' in the newer version of python. This patch aims to fix it with a simple string comparison of sys.version and '3'. Ac

[libvirt] [libvirt-python PATCH] sanitytest: define long for python version >= 3

2014-10-07 Thread Martin Kletzander
Commit c58c7f362aab37e4961407c2efc8a74925ed9c37 fixed 32-bit python build but broke build with python3 due to the lack of 'long' in the newer version of python. This patch aims to fix it with a simple string comparison of sys.version and '3'. Signed-off-by: Martin Kletzander --- sanitytest.py |