fix parsing changes when author doesn't have an account
This commit is contained in:
parent
4a29a246a2
commit
e17c14dbe6
2 changed files with 8 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ class IssueFormatter(IFormatter):
|
|||
if item['history']:
|
||||
result += '\nHistory:\n'
|
||||
for u in item['history']:
|
||||
result += '* %s%s - %s%s\n' % (self.BOLD, u.date, u.author, self.NC)
|
||||
result += '* %s%s - %s%s\n' % (self.BOLD, u.date, u.author.name, self.NC)
|
||||
for change in u.changes:
|
||||
result += ' - %s%s%s: %s -> %s\n' % (self.BOLD, change.field, self.NC, change.last, change.new)
|
||||
if u.message:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue