Mercurial > hgrepos > hgweb.cgi > after5
changeset 79:1acd9c926bd6 draft
Empty check, fixed.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 27 Jan 2013 23:18:02 +0900 |
parents | ec7d483d381d |
children | 5381d9b4adb5 |
files | after5.rb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/after5.rb Fri Jan 25 18:11:32 2013 +0900 +++ b/after5.rb Sun Jan 27 23:18:02 2013 +0900 @@ -2664,9 +2664,9 @@ end end } - if !ntlist.empty? + if !(list = @sc.notify_list(now)).empty? subj = @mybase+": Undeleted old cron files detected" - files = ntlist.collect{|who, whash| + files = list.collect{|who, whash| whash.sort.collect{|date, fhash| fhash['file']}.join("\n") }.join("\n") sendMail(@opt['maintainer'], subj,