From 30dcd1f52bed52dd01f83d1086a929407cf800a0 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Tue, 3 Aug 2021 09:16:17 +0200
Subject: [PATCH] lint

---
 inventory_provider/routes/poller.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inventory_provider/routes/poller.py b/inventory_provider/routes/poller.py
index 85351cff..3b7a8109 100644
--- a/inventory_provider/routes/poller.py
+++ b/inventory_provider/routes/poller.py
@@ -387,7 +387,7 @@ def _add_dashboards(interfaces):
 
     for ifc in interfaces:
         dashboards = _get_dashboards(ifc)
-        ifc['dashboards'] = sorted(list(d.name for d in dashboards))
+        ifc['dashboards'] = sorted([d.name for d in dashboards])
         yield ifc
 
 
-- 
GitLab