don't open binary file as utf-8

This commit is contained in:
Alan Hamlett 2014-09-30 10:11:44 -07:00
parent ffe1a32e5b
commit 0ec8c8edd9

View file

@ -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