diff --git a/packages/wakatime/HISTORY.rst b/packages/wakatime/HISTORY.rst index 7257af8..692b519 100644 --- a/packages/wakatime/HISTORY.rst +++ b/packages/wakatime/HISTORY.rst @@ -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) ++++++++++++++++++ diff --git a/packages/wakatime/wakatime/__init__.py b/packages/wakatime/wakatime/__init__.py index 6f0c313..d5bb935 100644 --- a/packages/wakatime/wakatime/__init__.py +++ b/packages/wakatime/wakatime/__init__.py @@ -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' diff --git a/packages/wakatime/wakatime/projects/subversion.py b/packages/wakatime/wakatime/projects/subversion.py index 8929d87..5278638 100644 --- a/packages/wakatime/wakatime/projects/subversion.py +++ b/packages/wakatime/wakatime/projects/subversion.py @@ -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