On 01/08/2014 04:09 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to