From acea15729c49ee079244bc89c1b47702fddb668a Mon Sep 17 00:00:00 2001 From: Roald Nefs Date: Fri, 29 Jan 2021 15:52:33 +0100 Subject: [PATCH] fix: use python 2.7 compatible super() Signed-off-by: Roald Nefs --- saltlint/linter/rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saltlint/linter/rule.py b/saltlint/linter/rule.py index bb6d03f..85ff9a1 100644 --- a/saltlint/linter/rule.py +++ b/saltlint/linter/rule.py @@ -123,7 +123,7 @@ def matchlines(self, file, text): escaped_text = pre_text + newlines + post_text # Call the matchlines() on the parent class with the escaped text - matches = super().matchlines(file, escaped_text) + matches = super(JinjaRule, self).matchlines(file, escaped_text) return matches