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
1229793862
commit
72ba4860c4
@ -53,7 +53,7 @@ class Task(models.Model):
|
||||
res = []
|
||||
for cls in itersubclasses(AbstractTask):
|
||||
if cls._synchronize_type \
|
||||
and ('protocol' not in self._context
|
||||
and ('protocol' not in self._context \
|
||||
or cls._key == self._context['protocol']):
|
||||
cls_info = (cls._key + '_' + cls._synchronize_type,
|
||||
cls._name + ' ' + cls._synchronize_type)
|
||||
|
Loading…
Reference in New Issue
Block a user