From f47f43fba66d0892db7a4fdc208f07698f81bd63 Mon Sep 17 00:00:00 2001 From: Robert Latta <robert.latta@geant.org> Date: Tue, 8 Jan 2019 08:50:05 +0000 Subject: [PATCH] Tidied up files --- inventory_provider/db.py | 1 - inventory_provider/opsdb.py | 1 - inventory_provider/routes/opsdb.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/inventory_provider/db.py b/inventory_provider/db.py index 927dd98d..40a72138 100644 --- a/inventory_provider/db.py +++ b/inventory_provider/db.py @@ -11,4 +11,3 @@ def get_redis(): # pragma: no cover port=config['redis']['port']) return g.redis_db - diff --git a/inventory_provider/opsdb.py b/inventory_provider/opsdb.py index 80485ced..07b71628 100644 --- a/inventory_provider/opsdb.py +++ b/inventory_provider/opsdb.py @@ -256,4 +256,3 @@ def get_equipment_location_data(db): crs.execute(equipment_location_query) r = _convert_to_dict(crs) return r - diff --git a/inventory_provider/routes/opsdb.py b/inventory_provider/routes/opsdb.py index a9c06014..00d259aa 100644 --- a/inventory_provider/routes/opsdb.py +++ b/inventory_provider/routes/opsdb.py @@ -109,4 +109,4 @@ def get_parents(child_id): r.hget( external_inventory.service_child_to_parents_key, child_id), - mimetype="application/json") \ No newline at end of file + mimetype="application/json") -- GitLab