upgrade wakatime-cli to v10.0.4
This commit is contained in:
parent
c4a88541d0
commit
e0040e185b
7 changed files with 61 additions and 41 deletions
|
|
@ -43,7 +43,7 @@ class JavaParser(TokenParser):
|
|||
self._process_other(token, content)
|
||||
|
||||
def _process_namespace(self, token, content):
|
||||
if u(content) == u('import'):
|
||||
if u(content).split() and u(content).split()[0] == u('import'):
|
||||
self.state = 'import'
|
||||
|
||||
elif self.state == 'import':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue