supress output from running svn command
This commit is contained in:
parent
fbdaf77abe
commit
c7989b1eaf
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue