mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 18:38:41 -06:00
Fix flake8
This commit is contained in:
parent
6ba509d12f
commit
70e61d0108
@ -53,7 +53,7 @@ class Task(models.Model):
|
|||||||
res = []
|
res = []
|
||||||
for cls in itersubclasses(AbstractTask):
|
for cls in itersubclasses(AbstractTask):
|
||||||
if cls._synchronize_type: # \
|
if cls._synchronize_type: # \
|
||||||
# and cls._key == self._context.get('protocol'):
|
# and cls._key == self._context.get('protocol'):
|
||||||
cls_info = (cls._key + '_' + cls._synchronize_type,
|
cls_info = (cls._key + '_' + cls._synchronize_type,
|
||||||
cls._name + ' ' + cls._synchronize_type)
|
cls._name + ' ' + cls._synchronize_type)
|
||||||
res.append(cls_info)
|
res.append(cls_info)
|
||||||
|
Loading…
Reference in New Issue
Block a user