summaryrefslogtreecommitdiff
path: root/src/flake8/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8/plugins')
-rw-r--r--src/flake8/plugins/_trie.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/plugins/_trie.py b/src/flake8/plugins/_trie.py
index 4871abb..17c226f 100644
--- a/src/flake8/plugins/_trie.py
+++ b/src/flake8/plugins/_trie.py
@@ -90,7 +90,7 @@ class TrieNode(object):
if not self.children:
return
- for prefix in sorted(self.children.keys()):
+ for prefix in sorted(self.children):
child = self.children[prefix]
yield child
for child in child.traverse():