[mew-dist 29273] Re: cmewが例外で終わる

Masamichi HOSODA <[email protected]>
Newsgroups gmane.mail.mew.general.japanese
Message-ID <[email protected]>

 ruby  cmew 

DB  Message-ID 
 path 

 f 
 refile 
cmew -f 

cmew  169 
            get_entry.execute!(id) do |row|
row  hash 
 array 

[#28463] Difference between Statement#execute and Statement#execute!
http://rubyforge.org/tracker/index.php?func=detail&aid=28463&group_id=254&atid=1043

 170 
              past_path = row['path']
row  array  'path' 





--- cmew.org	2010-08-03 02:26:48.000000000 +0900
+++ cmew	2010-08-21 16:20:24.000000000 +0900
@@ -166,7 +166,7 @@
           path = get_path(fpath)
           newpath = true
           if last_mod > 0
-            get_entry.execute!(id) do |row|
+            get_entry.execute(id).each do |row|
               past_path = row['path']
               unless File.exist?(past_path)
                 del_entry.execute(id, past_path)

    <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.