diff --git a/inventory_provider/db/ims_data.py b/inventory_provider/db/ims_data.py index f370317f50c1ec0139a31c182e0b14df5fc7d85a..cff471b7bc0bb8509da81fdb6dbbcb2222ba6f03 100644 --- a/inventory_provider/db/ims_data.py +++ b/inventory_provider/db/ims_data.py @@ -31,7 +31,8 @@ def get_circuit_hierarchy(ds): 'Circuit', circuit_nav_props, step_count=1000) for circuit in circuits: sub_circuits = [c['subcircuitid'] for c in circuit['subcircuits']] - carrier_circuits = [c['carriercircuitid'] for c in circuit['carriercircuits']] + carrier_circuits = \ + [c['carriercircuitid'] for c in circuit['carriercircuits']] yield { 'id': circuit['id'], 'product': circuit['product']['name'],