Skip to content

Commit

Permalink
securesystemslib/schema: Avoid use of super()
Browse files Browse the repository at this point in the history
Makes Python 2.7 unhappy without "new-style" classes.
  • Loading branch information
woodruffw committed Jun 19, 2020
1 parent 60cd082 commit 26f3d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securesystemslib/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class AnyNonemptyString(AnyString):
"""

def check_match(self, object):
super().check_match(object)
AnyString.check_match(self, object)

if object == "":
raise securesystemslib.exceptions.FormatError('Expected a string'
Expand Down

0 comments on commit 26f3d3e

Please sign in to comment.