From c00fb33e29548fab04b648b0dcef481f7d6bc58e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 12 Mar 2018 16:17:13 +0100 Subject: remove superfluous initalizer --- lib/dfatool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/dfatool.py b/lib/dfatool.py index b34af2e..e6d4315 100755 --- a/lib/dfatool.py +++ b/lib/dfatool.py @@ -836,8 +836,7 @@ class EnergyModel: def _add_data_to_aggregate(self, aggregate, key, element): if not key in aggregate: aggregate[key] = { - 'isa' : element['isa'], - 'attributes' : list(element['offline_aggregates'].keys()) + 'isa' : element['isa'] } for datakey in element['offline_aggregates'].keys(): aggregate[key][datakey] = [] -- cgit v1.2.3