bin/sup-import-dump in sup-0.21.0 vs bin/sup-import-dump in sup-0.22.0

- old
+ new

@@ -1,11 +1,10 @@ #!/usr/bin/env ruby $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) require 'uri' -require 'rubygems' require 'trollop' require "sup" PROGRESS_UPDATE_INTERVAL = 15 # seconds @@ -80,10 +79,10 @@ num_changed += 1 next if opts[:dry_run] m.labels = new_labels - index.update_message_state m + index.update_message_state [m, false] end index.commit_transaction if opts[:atomic] puts "Updated #{num_changed} of #{num_read} messages." rescue AbortExecution