trivial: fix assignment-from-none pylint warning (#52732)

This commit is contained in:
Frédéric Péters 2021-04-02 22:38:05 +02:00
parent 6e1e665417
commit 575a06e6d2
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ disable=
abstract-method,
arguments-differ,
assignment-from-no-return,
assignment-from-none,
attribute-defined-outside-init,
broad-except,
consider-using-dict-comprehension,

View File

@ -1898,7 +1898,7 @@ class WorkflowStatusItem(XmlSerialisable):
return label
def get_line_details(self):
return None
return ''
def render_list_of_roles(self, roles):
return self.parent.parent.render_list_of_roles(roles)