From 620da3414b9ccbb3dcf391e27c4c1ed3fb06d80c Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Thu, 4 Jun 2020 14:55:46 +0200
Subject: [PATCH] pep8

---
 inventory_provider/routes/jobs.py   | 3 ++-
 inventory_provider/tasks/monitor.py | 2 --
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/inventory_provider/routes/jobs.py b/inventory_provider/routes/jobs.py
index 5d0bd126..e2194f23 100644
--- a/inventory_provider/routes/jobs.py
+++ b/inventory_provider/routes/jobs.py
@@ -94,7 +94,8 @@ def load_task_log():
             'failed': []
         }
 
-        for task in monitor.load_task_log(current_app.config['INVENTORY_PROVIDER_CONFIG']).values():
+        for task in monitor.load_task_log(
+                current_app.config['INVENTORY_PROVIDER_CONFIG']).values():
             for event in task.get('task-warning', []):
                 result['warnings'].append(event['message'])
             for event in task.get('task-error', []):
diff --git a/inventory_provider/tasks/monitor.py b/inventory_provider/tasks/monitor.py
index b976caba..f17869d3 100644
--- a/inventory_provider/tasks/monitor.py
+++ b/inventory_provider/tasks/monitor.py
@@ -35,8 +35,6 @@ LOG_ENTRY_SCHEMA = {
 }
 
 
-
-
 def _save_proc(db_queue, params, dbid):
     """
     save redis events to a specific db
-- 
GitLab