Project

General

Profile

0001-misc-make-Field.ellipsized_label-returns-an-std-stri.patch

Benjamin Dauvergne, 16 Sep 2021 12:23 PM

Download (717 Bytes)

View differences:

Subject: [PATCH] misc: make Field.ellipsized_label() returns an std string
 (#56997)

 wcs/fields.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/fields.py
291 291

  
292 292
    @property
293 293
    def ellipsized_label(self):
294
        return ellipsize(self.unhtmled_label)
294
        return str(ellipsize(self.unhtmled_label))
295 295

  
296 296
    def get_admin_attributes(self):
297 297
        return ['label', 'type', 'condition']
298
-