lib/loader/loader.rb in myreplicator-1.1.23 vs lib/loader/loader.rb in myreplicator-1.1.24
- old
+ new
@@ -315,27 +315,14 @@
files << Myreplicator::ExportMetadata.new(:metadata_path => json_file)
end
result = []
#Kernel.p files
files.each do |file|
- #puts "<<<<<<<<<<<<<<<<"
job = Export.where("id = #{file.export_id}").first
- #puts "<<<<<<<<<<<<<<<<"
- #Kernel.p job
- #puts "<<<<<<<<<<<<<<<<"
- #puts "&&&&&&&&&&&&&&&&&&&&&&&&&&"
- #Kernel.p file
- #puts "&&&&&&&&&&&&&&&&&&&&&&&&&&"
#if job.state == "transport_completed"
result << file
#end
- #puts "^^^^^^^^^^^^^^^^^^^^^^^^^^"
- #Kernel.p result
- #puts "^^^^^^^^^^^^^^^^^^^^^^^^^^"
end
- #puts "<<<<<<<<<<<<<<<<"
-
- #puts "<<<<<<<<<<<<<<<<"
return result
end
##
# Clears files that are older than the passed metadata file.