summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-21 20:21:45 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-21 20:21:45 +0200
commite9140073f4dcba5c022a2ad40a1b935a07a6b4c3 (patch)
treeab5c0e64b5af643e56ec1dfc4093ed58d5fa0406
parentaf04107b8b370452a17fa54e8ea0e8adc8b376b0 (diff)
downloadcoderay-e9140073f4dcba5c022a2ad40a1b935a07a6b4c3.tar.gz
no attack vector, there are only 2 cases
-rw-r--r--lib/coderay/scanners/python.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/coderay/scanners/python.rb b/lib/coderay/scanners/python.rb
index 05e1f5f..09c8b6e 100644
--- a/lib/coderay/scanners/python.rb
+++ b/lib/coderay/scanners/python.rb
@@ -183,7 +183,6 @@ module Scanners
kind = :ident
elsif kind == :keyword
state = DEF_NEW_STATE[match]
- # FIXME: cache attack
from_import_state << match.to_sym if state == :include_expected
end
encoder.text_token match, kind