[virt-tools-list] [PATCH virt-manager] set cov as None if python-coverage not installed
Cole Robinson
crobinso at redhat.com
Sat Jan 11 18:25:08 UTC 2014
On 01/08/2014 04:09 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>
> 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 at cn.fujitsu.com>
> ---
> 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
More information about the virt-tools-list
mailing list