Skip to content

Commit

Permalink
fix: use python 2.7 compatible super()
Browse files Browse the repository at this point in the history
Signed-off-by: Roald Nefs <info@roaldnefs.com>
  • Loading branch information
roaldnefs committed Jan 29, 2021
1 parent 23c3cbd commit acea157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saltlint/linter/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit acea157

Please sign in to comment.