Mercurial > hgrepos > hgweb.cgi > after5
comparison after5.rb @ 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 |
comparison
equal
deleted
inserted
replaced
78:ec7d483d381d | 79:1acd9c926bd6 |
---|---|
2662 end | 2662 end |
2663 end | 2663 end |
2664 end | 2664 end |
2665 end | 2665 end |
2666 } | 2666 } |
2667 if !ntlist.empty? | 2667 if !(list = @sc.notify_list(now)).empty? |
2668 subj = @mybase+": Undeleted old cron files detected" | 2668 subj = @mybase+": Undeleted old cron files detected" |
2669 files = ntlist.collect{|who, whash| | 2669 files = list.collect{|who, whash| |
2670 whash.sort.collect{|date, fhash| fhash['file']}.join("\n") | 2670 whash.sort.collect{|date, fhash| fhash['file']}.join("\n") |
2671 }.join("\n") | 2671 }.join("\n") |
2672 sendMail(@opt['maintainer'], subj, | 2672 sendMail(@opt['maintainer'], subj, |
2673 "This is `#{@mybase}' in #{@mydir}\n" + | 2673 "This is `#{@mybase}' in #{@mydir}\n" + |
2674 "You'd better check and remove these files.\n\n"+files) | 2674 "You'd better check and remove these files.\n\n"+files) |