summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-03-12 16:17:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-03-12 16:17:13 +0100
commitc00fb33e29548fab04b648b0dcef481f7d6bc58e (patch)
tree6743e01939c32ac99c10f55938eae3ca43683cea
parent16b17dd34a0c1602b7df842af3126d8bd4d4a042 (diff)
remove superfluous initalizer
-rwxr-xr-xlib/dfatool.py3
1 files changed, 1 insertions, 2 deletions
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] = []