notification: declare logging method as static

Change-Id: Ie882ff258d5a7b88caf29e64cd13f01cb5261326
This commit is contained in:
Julien Danjou 2018-09-06 10:43:50 +02:00
parent e4bc4f4ca5
commit ef599face4
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@ class NotificationService(cotyledon.Service):
for exchange in
set(self.conf.notification.notification_control_exchanges)]
def _log_missing_pipeline(self, names):
@staticmethod
def _log_missing_pipeline(names):
LOG.error(_('Could not load the following pipelines: %s'), names)
def run(self):