Skip to content

Commit

Permalink
Merge pull request carpentries#256 from maxim-belkin/static-get-val
Browse files Browse the repository at this point in the history
lesson_check: get_val is a static method
  • Loading branch information
rgaiacs authored May 18, 2018
2 parents b32734f + 601ad2f commit 3d9748e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ def match(self, node, pattern):
return False
return True

def get_val(self, node, *chain):
@staticmethod
def get_val(node, *chain):
"""Get value one or more levels down."""

curr = node
Expand Down

0 comments on commit 3d9748e

Please sign in to comment.