From 72ba4860c4f60b4345a087ee6423444f16dc2642 Mon Sep 17 00:00:00 2001 From: Valentin Chemiere Date: Thu, 19 Mar 2015 12:44:39 +0100 Subject: [PATCH] FIx flake8 --- external_file_location/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external_file_location/task.py b/external_file_location/task.py index 8e2460df..11486f1e 100644 --- a/external_file_location/task.py +++ b/external_file_location/task.py @@ -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)