[go: up one dir, main page]

Skip to content

Commit

Permalink
Refactor walk function
Browse files Browse the repository at this point in the history
  • Loading branch information
denisorehovsky authored Jan 28, 2018
1 parent f96c018 commit 48a93db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_compiled.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def assert_is_compiled(obj):
def test_patterns_are_compiled():

def walk(dictionary):
for key, value in dictionary.items():
for value in dictionary.values():
if isinstance(value, dict):
walk(value)
else:
Expand Down

0 comments on commit 48a93db

Please sign in to comment.