lib/pipeline/base.rb in tracksperanto-2.1.0 vs lib/pipeline/base.rb in tracksperanto-2.1.1

- old
+ new

@@ -116,11 +116,10 @@ end @ios << io_with_progress accumulator = Tracksperanto::Accumulator.new importer.receiver = accumulator - @ios << accumulator # Ensure the accumulator gets closed and tempfile unlinked importer.stream_parse(io_with_progress) report_progress(percent_complete = 50.0, "Validating #{accumulator.length} imported trackers") if accumulator.num_objects.zero? @@ -175,6 +174,6 @@ # Open the file for writing and register it to be closed automatically def open_owned_export_file(path_to_file) @ios ||= [] @ios.push(File.open(path_to_file, "wb"))[-1] end -end \ No newline at end of file +end