misc: pylint fix bad-classmethod-argument (#52222)
This commit is contained in:
parent
d3f8af1166
commit
daf108ffd5
|
@ -1955,7 +1955,7 @@ class FormPage(Directory):
|
|||
return ''
|
||||
|
||||
@classmethod
|
||||
def get_multi_actions(self, formdef, user, status_filter):
|
||||
def get_multi_actions(cls, formdef, user, status_filter):
|
||||
global_actions = formdef.workflow.get_global_manual_actions()
|
||||
|
||||
if status_filter not in ('open', 'waiting', 'done', 'all'):
|
||||
|
|
|
@ -249,7 +249,7 @@ class FtsMatch(Criteria):
|
|||
self.value = self.get_fts_value(value)
|
||||
|
||||
@classmethod
|
||||
def get_fts_value(self, value):
|
||||
def get_fts_value(cls, value):
|
||||
return unicodedata.normalize('NFKD', value).encode('ascii', 'ignore').decode('ascii')
|
||||
|
||||
def as_sql(self):
|
||||
|
|
Loading…
Reference in New Issue