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',
|
||||
]
|
||||
for location in locations:
|
||||
with open(os.devnull, 'wb', encoding='utf-8') as DEVNULL:
|
||||
with open(os.devnull, 'wb') as DEVNULL:
|
||||
try:
|
||||
Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL)
|
||||
self.binary_location = location
|
||||
|
|
Loading…
Reference in a new issue