Reformat statement
This commit is contained in:
@@ -829,9 +829,8 @@ class Tokenizer(ABC):
|
|||||||
elif tType == self.T_KEYWORD and self._doKeywords:
|
elif tType == self.T_KEYWORD and self._doKeywords:
|
||||||
valid, bits, _ = self._project.index.scanThis("@"+tText)
|
valid, bits, _ = self._project.index.scanThis("@"+tText)
|
||||||
if valid and bits:
|
if valid and bits:
|
||||||
text = "{0}: {1}".format(
|
key = self._localLookup(nwLabels.KEY_NAME[bits[0]])
|
||||||
self._localLookup(nwLabels.KEY_NAME[bits[0]]), ", ".join(bits[1:])
|
text = "{0}: {1}".format(key, ", ".join(bits[1:]))
|
||||||
)
|
|
||||||
allWords += len(text.split())
|
allWords += len(text.split())
|
||||||
allChars += len(text)
|
allChars += len(text)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user