X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bin%2Fsup-dump;h=8b5bf07f07be990e49ffdb96ff90b623e69a1a9a;hb=110d48bc15247b2fa42782eed00bc7cabd4d83e8;hp=ba36b21adb0f102342f370d417640785541890bb;hpb=f3d3bb09ffc817b15b32874a3f33a4480fd863dc;p=sup diff --git a/bin/sup-dump b/bin/sup-dump index ba36b21..8b5bf07 100755 --- a/bin/sup-dump +++ b/bin/sup-dump @@ -21,10 +21,10 @@ No options. EOS end -index = Redwood::Index.new -Redwood::SourceManager.new +index = Redwood::Index.init +Redwood::SourceManager.init index.load index.each_message :load_spam => true, :load_deleted => true, :load_killed => true do |m| - puts "#{m.id} (#{m.labels * ' '})" + puts "#{m.id} (#{m.labels.to_a * ' '})" end