Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Fix issue where a msg is without text in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy committed Nov 4, 2020
1 parent 7585b68 commit 282a0cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cddagl/ui/views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3372,8 +3372,8 @@ def run(self):
format='long', locale=self.app_locale)

build_changes = build_data.findall(r'.//changeSet/item/msg')
build_changes = map(lambda x: html.escape(x.text.strip(), True),
build_changes)
build_changes = map(lambda x: html.escape(x.text.strip() if x.text is not None else '',
True), build_changes)
build_changes = list(unique(build_changes))
build_number = int(build_data.find('number').text)
build_desc = _('Build #{build_number}').format(build_number=build_number)
Expand Down

0 comments on commit 282a0cc

Please sign in to comment.