Re: [PATCH virt-manager] set cov as None if python-coverage not installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/08/2014 04:09 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
> 
> If we didn't install python-coverage, we could not
> run 'python setup.py test'.
> This patch fixes this little bug.
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
> ---
>  setup.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/setup.py b/setup.py
> index 1af356f..fa4065e 100755
> --- a/setup.py
> +++ b/setup.py
> @@ -394,6 +394,7 @@ class TestBaseCommand(Command):
>              use_cov = True
>          except:
>              use_cov = False
> +            cov = None
>  
>          if use_cov:
>              omit = ["/usr/*", "/*/tests/*"]
> 

Thanks, pushed now.

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux