From c7989b1eaf024642e92c9dba0c7dd6219907b5c9 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Fri, 29 Aug 2014 12:37:54 -0700 Subject: [PATCH] supress output from running svn command --- wakatime/projects/subversion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wakatime/projects/subversion.py b/wakatime/projects/subversion.py index 6e49bf5..707f4f4 100644 --- a/wakatime/projects/subversion.py +++ b/wakatime/projects/subversion.py @@ -12,7 +12,7 @@ import logging import os import platform -from subprocess import Popen, PIPE +from subprocess import Popen, PIPE, DEVNULL from .base import BaseProject try: @@ -55,7 +55,7 @@ class Subversion(BaseProject): ] for location in locations: try: - Popen([location, '--version']) + Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL) self.binary_location = location return location except: