summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib2to3/btm_matcher.py5
-rw-r--r--Misc/ACKS1
2 files changed, 1 insertions, 5 deletions
diff --git a/Lib/lib2to3/btm_matcher.py b/Lib/lib2to3/btm_matcher.py
index eabe1a7..3b78868 100644
--- a/Lib/lib2to3/btm_matcher.py
+++ b/Lib/lib2to3/btm_matcher.py
@@ -117,10 +117,7 @@ class BottomMatcher(object):
#token matches
current_ac_node = current_ac_node.transition_table[node_token]
for fixer in current_ac_node.fixers:
- if not fixer in results:
- results[fixer] = []
results[fixer].append(current_ast_node)
-
else:
#matching failed, reset automaton
current_ac_node = self.root
@@ -134,8 +131,6 @@ class BottomMatcher(object):
#token matches
current_ac_node = current_ac_node.transition_table[node_token]
for fixer in current_ac_node.fixers:
- if not fixer in results.keys():
- results[fixer] = []
results[fixer].append(current_ast_node)
current_ast_node = current_ast_node.parent
diff --git a/Misc/ACKS b/Misc/ACKS
index 2164206..379ffc5 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1376,6 +1376,7 @@ Steven Scott
Nick Seidenman
Michael Seifert
Žiga Seilnacht
+Michael Selik
Yury Selivanov
Fred Sells
Jiwon Seo