upgrade wakatime-cli to v9.0.1
This commit is contained in:
parent
46a9aae942
commit
4672f70c87
2 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue