lib/rbbt/tsv/change_id.rb in rbbt-util-5.15.2 vs lib/rbbt/tsv/change_id.rb in rbbt-util-5.15.3
- old
+ new
@@ -128,10 +128,9 @@
if common_field and (source.nil? or source.empty? or all_fields.include? source) and other_all_fields.include? target
index = Persist.persist_tsv(nil, Misc.fingerprint(files), {:files => files, :source => source, :target => target}, :prefix => "Translation index", :persist => options[:persist]) do |data|
- iii options.merge(:target => common_field, :fields => fields)
index = TSV === file ?
file.index(options.merge(:target => common_field, :fields => fields)) :
TSV.index(file, options.merge(:target => common_field, :fields => fields))
other_index = TSV === other_file ?