From 10fa524cd3a8f8710bd44f11f17ac7df7cd3b274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 4 Dec 2006 14:43:41 +0000 Subject: [PATCH] self thingie... --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):