upgrade wakatime-cli to v9.0.1
This commit is contained in:
parent
23e92a5701
commit
d20bbe84a3
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
__title__ = 'wakatime'
|
||||
__description__ = 'Common interface to the WakaTime api.'
|
||||
__url__ = 'https://github.com/wakatime/wakatime'
|
||||
__version_info__ = ('9', '0', '0')
|
||||
__version_info__ = ('9', '0', '1')
|
||||
__version__ = '.'.join(__version_info__)
|
||||
__author__ = 'Alan Hamlett'
|
||||
__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
|
||||
sensitive = ['dependencies', 'lines', 'lineno', 'cursorpos', 'branch']
|
||||
for key in sensitive:
|
||||
if key in data:
|
||||
del data[key]
|
||||
for sensitiveKey in sensitive:
|
||||
if sensitiveKey in data:
|
||||
del data[sensitiveKey]
|
||||
|
||||
break
|
||||
except re.error as ex:
|
||||
|
|
Loading…
Reference in a new issue