mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 18:08:42 -06:00
fix flake8
This commit is contained in:
parent
da3e3adb2c
commit
1229793862
@ -53,8 +53,8 @@ class Task(models.Model):
|
||||
res = []
|
||||
for cls in itersubclasses(AbstractTask):
|
||||
if cls._synchronize_type \
|
||||
and ('protocol' not in self._context
|
||||
or cls._key == self._context['protocol']):
|
||||
and ('protocol' not in self._context
|
||||
or cls._key == self._context['protocol']):
|
||||
cls_info = (cls._key + '_' + cls._synchronize_type,
|
||||
cls._name + ' ' + cls._synchronize_type)
|
||||
res.append(cls_info)
|
||||
|
Loading…
Reference in New Issue
Block a user