diff -r e83725261adf -r f3bc8ca0b715 dataimport.py --- a/dataimport.py Tue May 15 14:43:08 2012 +0200 +++ b/dataimport.py Mon May 14 15:24:07 2012 +0200 @@ -182,7 +182,10 @@ assert isinstance(row, dict) assert isinstance(map, list) for src, dest, funcs in map: - res[dest] = row[src] + try: + res[dest] = row[src] + except KeyError: + continue try: for func in funcs: res[dest] = func(res[dest])