upgrade wakatime package to v0.5.2

This commit is contained in:
Alan Hamlett 2014-01-14 05:11:00 -08:00
parent 4c7adf0943
commit 09a16dea1e
5 changed files with 14 additions and 7 deletions

View file

@ -12,3 +12,4 @@ Patches and Suggestions
----------------------- -----------------------
- 3onyc <3onyc@x3tech.com> - 3onyc <3onyc@x3tech.com>
- userid <xixico@ymail.com>

View file

@ -3,6 +3,12 @@ History
------- -------
0.5.2 (2014-01-14)
++++++++++++++++++
- minor bug fix for Subversion on non-English systems
0.5.1 (2013-12-13) 0.5.1 (2013-12-13)
++++++++++++++++++ ++++++++++++++++++

View file

@ -1,9 +1,9 @@
WakaTime WakaTime
======== ========
Automatic time tracking for your text editor. Fully automatic time tracking for your text editor.
This is the common interface for the WakaTime api. You shouldn't need to directly use this package. This is the common interface for the WakaTime api. You shouldn't need to directly use this package unless you are creating a new plugin.
Go to http://wakatime.com to install the plugin for your text editor. Go to http://wakatime.com to install the plugin for your text editor.

View file

@ -3,9 +3,8 @@
wakatime wakatime
~~~~~~~~ ~~~~~~~~
Common interface to WakaTime.com for most text editor plugins. Common interface to the WakaTime api.
WakaTime.com is fully automatic time tracking for text editors. http://wakatime.com
More info at http://wakatime.com
:copyright: (c) 2013 Alan Hamlett. :copyright: (c) 2013 Alan Hamlett.
:license: BSD, see LICENSE for more details. :license: BSD, see LICENSE for more details.
@ -14,7 +13,7 @@
from __future__ import print_function from __future__ import print_function
__title__ = 'wakatime' __title__ = 'wakatime'
__version__ = '0.5.1' __version__ = '0.5.2'
__author__ = 'Alan Hamlett' __author__ = 'Alan Hamlett'
__license__ = 'BSD' __license__ = 'BSD'
__copyright__ = 'Copyright 2013 Alan Hamlett' __copyright__ = 'Copyright 2013 Alan Hamlett'
@ -135,7 +134,7 @@ def parseArguments(argv):
# define supported command line arguments # define supported command line arguments
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Wakati.Me event api appender') description='Common interface for the WakaTime api.')
parser.add_argument('--file', dest='targetFile', metavar='file', parser.add_argument('--file', dest='targetFile', metavar='file',
action=FileAction, required=True, action=FileAction, required=True,
help='absolute path to file for current action') help='absolute path to file for current action')

View file

@ -41,6 +41,7 @@ class Subversion(BaseProject):
info = OrderedDict() info = OrderedDict()
stdout = None stdout = None
try: try:
os.environ['LANG'] = 'en_US'
stdout, stderr = Popen([ stdout, stderr = Popen([
'svn', 'info', os.path.realpath(path) 'svn', 'info', os.path.realpath(path)
], stdout=PIPE, stderr=PIPE).communicate() ], stdout=PIPE, stderr=PIPE).communicate()