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 logging
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE, DEVNULL
|
||||||
|
|
||||||
from .base import BaseProject
|
from .base import BaseProject
|
||||||
try:
|
try:
|
||||||
|
@ -55,7 +55,7 @@ class Subversion(BaseProject):
|
||||||
]
|
]
|
||||||
for location in locations:
|
for location in locations:
|
||||||
try:
|
try:
|
||||||
Popen([location, '--version'])
|
Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL)
|
||||||
self.binary_location = location
|
self.binary_location = location
|
||||||
return location
|
return location
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue