[meld] vc._vc: Silence output when checking for VC presence



commit 1eea8447d12b2f67e46b3221b612ff594c360274
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Sep 8 07:08:27 2013 +1000

    vc._vc: Silence output when checking for VC presence

 meld/vc/_vc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/_vc.py b/meld/vc/_vc.py
index 267dd1c..e02d5e7 100644
--- a/meld/vc/_vc.py
+++ b/meld/vc/_vc.py
@@ -244,7 +244,7 @@ class Vc(object):
     @classmethod
     def is_installed(cls):
         try:
-            popen([cls.CMD])
+            call([cls.CMD])
             return True
         except:
             return False


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