upgrade wakatime-cli to v10.4.2
This commit is contained in:
parent
656853504f
commit
7886edcb7a
3 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__ = ('10', '4', '1')
|
||||
__version_info__ = ('10', '4', '2')
|
||||
__version__ = '.'.join(__version_info__)
|
||||
__author__ = 'Alan Hamlett'
|
||||
__author_email__ = 'alan@wakatime.com'
|
||||
|
|
|
@ -131,5 +131,5 @@ class DependencyParser(object):
|
|||
if self.parser:
|
||||
plugin = self.parser(self.source_file, lexer=self.lexer)
|
||||
dependencies = plugin.parse()
|
||||
return list(set(dependencies))
|
||||
return list(filter(bool, set(dependencies)))
|
||||
return []
|
||||
|
|
|
@ -87,10 +87,10 @@ class Git(BaseProject):
|
|||
|
||||
disabled = self._configs.get('submodules_disabled')
|
||||
|
||||
if not disabled or disabled.strip().lower() == 'false':
|
||||
return True
|
||||
if disabled.strip().lower() == 'true':
|
||||
return False
|
||||
if disabled.strip().lower() == 'false':
|
||||
return True
|
||||
|
||||
for pattern in disabled.split("\n"):
|
||||
if pattern.strip():
|
||||
|
|
Loading…
Reference in a new issue