Workaround to avoid history bug #1324

This commit is contained in:
Jojo144 2024-12-25 18:14:28 +01:00
parent 61ea1f54d2
commit dae0038372

View file

@ -38,7 +38,10 @@ def history_sort_key(history_item_dict):
def describe_version(version_obj): def describe_version(version_obj):
"""Use the base model str() function to describe a version object""" """Use the base model str() function to describe a version object"""
return parent_class(type(version_obj)).__str__(version_obj) if version_obj is None:
return ""
else:
return parent_class(type(version_obj)).__str__(version_obj)
def describe_owers_change(version, human_readable_names): def describe_owers_change(version, human_readable_names):