upgrade external wakatime package to v2.1.1

This commit is contained in:
Alan Hamlett 2014-09-30 10:17:18 -07:00
parent 101ab38c70
commit d0bfd04602
3 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,12 @@ History
-------
2.1.1 (2014-09-30)
++++++++++++++++++
- fix bug where binary file opened as utf-8
2.1.0 (2014-09-30)
++++++++++++++++++

View File

@ -13,7 +13,7 @@
from __future__ import print_function
__title__ = 'wakatime'
__version__ = '2.1.0'
__version__ = '2.1.1'
__author__ = 'Alan Hamlett'
__license__ = 'BSD'
__copyright__ = 'Copyright 2014 Alan Hamlett'

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