mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
Ensure edited_fields is not None during HistoryEvent.__init__
This commit is contained in:
parent
23c8b42ab7
commit
2e1f5c7409
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class HistoryEvent:
|
|||
"""
|
||||
self.version = version
|
||||
self.previous_version = previous_version
|
||||
self.edited_fields = edited_fields
|
||||
self.edited_fields = edited_fields or []
|
||||
self.date = version.revision.date_created
|
||||
self.performed_by = version.revision.user
|
||||
self.comment = version.revision.get_comment() or None
|
||||
|
|
Loading…
Reference in a new issue