fix format to account for additional headers we're checking

This commit is contained in:
Mike Bonnet 2009-02-09 16:41:14 -05:00
parent 7769c3f540
commit 4041170cd4

View file

@ -65,8 +65,8 @@ class Rpmdiff:
# this whole check as well.
PREREQ_FLAG=False
DEPFORMAT = '%-11s%s %s %s %s'
FORMAT = '%-11s%s'
DEPFORMAT = '%-12s%s %s %s %s'
FORMAT = '%-12s%s'
ADDED = 'added'
REMOVED = 'removed'
@ -100,7 +100,7 @@ class Rpmdiff:
elif new_tag == None:
self.__add(self.FORMAT, (self.REMOVED, tagname))
else:
self.__add(self.FORMAT, ('S.5.....', tagname))
self.__add(self.FORMAT, ('S.5........', tagname))
# compare Provides, Requires, ...
for tag in self.PRCO: