# HG changeset patch # User Sylvain Thénault # Date 1454090250 -3600 # Node ID 6adfa1e75179817d8a652176cb3073b14dd84f5a # Parent a8cab8fb54ba02ea8ec37eb6732af1c0d0a1ff0a [dataimport] no need to call .keys() diff -r a8cab8fb54ba -r 6adfa1e75179 cubicweb/dataimport/massive_store.py --- a/cubicweb/dataimport/massive_store.py Mon Feb 01 17:50:05 2016 +0100 +++ b/cubicweb/dataimport/massive_store.py Fri Jan 29 18:57:30 2016 +0100 @@ -400,7 +400,7 @@ # Thus we should create dictionary with all the keys. columns = set() for d in data: - columns.update(d.keys()) + columns.update(d) _data = [] _base_data = dict.fromkeys(columns) for d in data: