From f3bc4ec278a065012489b662210b9c72b542aef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 7 Apr 2021 09:02:12 +0200 Subject: [PATCH] trivial: add forgotten pylint mark for cron jobs --- wcs/qommon/publisher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wcs/qommon/publisher.py b/wcs/qommon/publisher.py index 1b3e782a1..246ff0a37 100644 --- a/wcs/qommon/publisher.py +++ b/wcs/qommon/publisher.py @@ -553,6 +553,7 @@ class QommonPublisher(Publisher): def register_cronjob(cls, cronjob): if not cls.cronjobs: cls.cronjobs = [] + # noqa pylint: disable=not-an-iterable if cronjob.name and any(x for x in cls.cronjobs if x.name == cronjob.name): # already registered return