Remove leftover code from initial changelog support
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
4e574dbd43
commit
fe23daf8a3
1 changed files with 1 additions and 4 deletions
|
@ -246,10 +246,7 @@ class ChangeLog:
|
||||||
self.categories = OrderedDict()
|
self.categories = OrderedDict()
|
||||||
for category in STANDARD_CATEGORIES:
|
for category in STANDARD_CATEGORIES:
|
||||||
self.categories[category] = ''
|
self.categories[category] = ''
|
||||||
if self.header:
|
offset = (self.header + self.top_version_title).count('\n') + 1
|
||||||
offset = (self.header + self.top_version_title).count('\n') + 1
|
|
||||||
else:
|
|
||||||
offset = 0
|
|
||||||
|
|
||||||
self.add_categories_from_text(input_stream.name, offset,
|
self.add_categories_from_text(input_stream.name, offset,
|
||||||
top_version_body, True)
|
top_version_body, True)
|
||||||
|
|
Loading…
Reference in a new issue