From 601ad2fdd84d62f21f2165df0668bd91021361fd Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Fri, 18 May 2018 00:30:09 -0500 Subject: [PATCH] lesson_check: get_val is a static method --- bin/lesson_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/lesson_check.py b/bin/lesson_check.py index 6aa1c2c9..3e07f679 100755 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -399,7 +399,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