Please, ignore this patch, I accidently put email text in the commit
message. I'll send a new patch to the list.
Regards,
Tadej
On Thu, 2015-04-16 at 11:33 +0200, Tadej Janež wrote:
This patch fixes a regression introduced in
52ed058df9cbfddd4c7b93199693dcb6486711f3
when CheckDistTag was moved from plugins/generic_should.py to plugins/generic.py.
Best regards,
Tadej Janež
---
plugins/generic.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/generic.py b/plugins/generic.py
index 05ad752..f7e77f5 100644
--- a/plugins/generic.py
+++ b/plugins/generic.py
@@ -445,11 +445,11 @@ class CheckDevelFilesInDevel(GenericCheckBase):
self.type = 'MUST'
-class CheckDistTag(GenericShouldCheckBase):
+class CheckDistTag(GenericCheckBase):
''' Disttag %{?dist} is present in Release: '''
def __init__(self, base):
- GenericShouldCheckBase.__init__(self, base)
+ GenericCheckBase.__init__(self, base)
self.url = 'https://fedoraproject.org/wiki/Packaging:DistTag'
self.text = 'Dist tag is present.'
self.automatic = True