don't open binary file as utf-8
This commit is contained in:
parent
ffe1a32e5b
commit
0ec8c8edd9
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Subversion(BaseProject):
|
||||||
'/usr/local/bin/svn',
|
'/usr/local/bin/svn',
|
||||||
]
|
]
|
||||||
for location in locations:
|
for location in locations:
|
||||||
with open(os.devnull, 'wb', encoding='utf-8') as DEVNULL:
|
with open(os.devnull, 'wb') as DEVNULL:
|
||||||
try:
|
try:
|
||||||
Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL)
|
Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL)
|
||||||
self.binary_location = location
|
self.binary_location = location
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue