Changeset ffe7c3992286…
Parent 4c5c0022ccd5…
by
Changes to one file · Browse files at ffe7c3992286 Showing diff from parent 4c5c0022ccd5 Diff from another changeset...
@@ -190,7 +190,7 @@ contents = unicode(contents)
lexer = guess_lexer_for_filename(wfile, contents)
for tokentype, value in lexer.get_tokens(contents):
- if tokentype is Token.Name and len(value) > 4:
+ if tokentype in Token.Name and len(value) > 4:
tokens.add(value)
except ClassNotFound:
pass
|
Loading...