upgrade wakatime-cli to v9.0.1

This commit is contained in:
Alan Hamlett 2017-11-07 18:56:07 -08:00
parent 23e92a5701
commit d20bbe84a3
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
__title__ = 'wakatime' __title__ = 'wakatime'
__description__ = 'Common interface to the WakaTime api.' __description__ = 'Common interface to the WakaTime api.'
__url__ = 'https://github.com/wakatime/wakatime' __url__ = 'https://github.com/wakatime/wakatime'
__version_info__ = ('9', '0', '0') __version_info__ = ('9', '0', '1')
__version__ = '.'.join(__version_info__) __version__ = '.'.join(__version_info__)
__author__ = 'Alan Hamlett' __author__ = 'Alan Hamlett'
__author_email__ = 'alan@wakatime.com' __author_email__ = 'alan@wakatime.com'

View file

@ -107,9 +107,9 @@ def send_heartbeat(project=None, branch=None, hostname=None, stats={}, key=None,
# also delete any sensitive info when hiding file names # also delete any sensitive info when hiding file names
sensitive = ['dependencies', 'lines', 'lineno', 'cursorpos', 'branch'] sensitive = ['dependencies', 'lines', 'lineno', 'cursorpos', 'branch']
for key in sensitive: for sensitiveKey in sensitive:
if key in data: if sensitiveKey in data:
del data[key] del data[sensitiveKey]
break break
except re.error as ex: except re.error as ex: