diff --git a/pisi/util.py b/pisi/util.py index b64b0102..34015b65 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -56,7 +56,7 @@ class Checks: if not var: self.list.append(_("%s section should have a '%s' tag") % (section, name)) - def has_error(): + def has_error(self): return len(self.list)>0 def print_errors(list):