Commit 45d4ec25 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Remove dead code

parent 9f61d030
......@@ -188,7 +188,6 @@ def extract_source_data(source: ValidataResource, schema_descriptor, preview_row
# - duplicate-header
schema_field_names = [f['name'] for f in schema_descriptor.get('fields') or []]
#import ipdb; ipdb.set_trace()
duplicate_header_names = [err._message_substitutions['column-name'] for err in repair_report if err.code == 'duplicate-header']
duplicate_col_indices = compute_duplicate_header_column_indices(source_header, duplicate_header_names)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment