upgraded wakatime cli package to 0.1.5

This commit is contained in:
Alan Hamlett 2013-07-23 17:52:33 -07:00
parent b944863cb7
commit 039c4bf0ac

View file

@ -12,7 +12,7 @@
from __future__ import print_function from __future__ import print_function
__title__ = 'wakatime' __title__ = 'wakatime'
__version__ = '0.1.4' __version__ = '0.1.5'
__author__ = 'Alan Hamlett' __author__ = 'Alan Hamlett'
__license__ = 'BSD' __license__ = 'BSD'
__copyright__ = 'Copyright 2013 Alan Hamlett' __copyright__ = 'Copyright 2013 Alan Hamlett'
@ -103,7 +103,10 @@ def get_api_key(configFile):
def get_user_agent(plugin): def get_user_agent(plugin):
user_agent = 'wakatime/%s (%s)' % (__version__, platform.platform()) python_version = '%d.%d.%d.%s.%d' % (v.major, v.minor, v.micro,
v.releaselevel, v.serial)
user_agent = 'wakatime/%s (%s) Python%s' % (__version__,
python_version, platform.platform())
if plugin: if plugin:
user_agent = user_agent+' '+plugin user_agent = user_agent+' '+plugin
return user_agent return user_agent