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/*"]
-- 
1.8.2.1

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to