This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9bedb487 More info
9bedb487 is described below

commit 9bedb487f53cfab282c930ef2263b961f6c64398
Author: Sebb <[email protected]>
AuthorDate: Thu Jan 4 13:04:57 2024 +0000

    More info
---
 tools/parsemail.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/parsemail.rb b/tools/parsemail.rb
index fa0b925f..915955f8 100755
--- a/tools/parsemail.rb
+++ b/tools/parsemail.rb
@@ -76,7 +76,7 @@ module ParseMail
     if data.size == 0
       log :INFO, "No new entries found"
     else
-      # update the file with any new entries
+      # update the file with any new entries (this locks the file)
       YamlFile.update(yamlfile) do |yaml|
         data.each do |k,v|
             unless yaml[k] # don't update existing entries (should rarely 
happen)
@@ -111,7 +111,7 @@ module ParseMail
 
     maildir = File.join(MAIL_ROOT, list, yyyymm) # where to find the mail files
     if Dir.exists? maildir
-      log :INFO, "Processing #{maildir}"
+      log :INFO, "Processing #{maildir} into #{yamlfile}"
       parse_dir(maildir, yamlfile)
     else
       log :WARN, "Could not find #{maildir}"
@@ -122,7 +122,7 @@ module ParseMail
 
       maildir = File.join(MAIL_ROOT, list, lastmonth) # where to find the mail 
files
       if Dir.exists? maildir
-        log :INFO, "Processing #{maildir}"
+        log :INFO, "Processing #{maildir} into #{yamlfile}"
         parse_dir(maildir, yamlfile)
       else
         log :WARN, "Could not find #{maildir}"

Reply via email to