]> git.cworth.org Git - sup/blobdiff - bin/sup-dump
Merge branch 'master' into next
[sup] / bin / sup-dump
index ba36b21adb0f102342f370d417640785541890bb..8b5bf07f07be990e49ffdb96ff90b623e69a1a9a 100755 (executable)
@@ -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