summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-21 21:46:12 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-21 21:46:12 +0000
commiteecc7cc99835b70867197991efff3c5103185326 (patch)
treed92762e12708c01d0721c370cae9dce506e18282
parenta468c15b6c3d1bd86c846cd0db44d8ca207b2bec (diff)
downloadpuppet-eecc7cc99835b70867197991efff3c5103185326.tar.gz
puppet-eecc7cc99835b70867197991efff3c5103185326.tar.xz
puppet-eecc7cc99835b70867197991efff3c5103185326.zip
Fixing error in tagmail when there are no messages to report
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1655 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/reports/tagmail.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/reports/tagmail.rb b/lib/puppet/reports/tagmail.rb
index 88ad89b5a..b7025802d 100644
--- a/lib/puppet/reports/tagmail.rb
+++ b/lib/puppet/reports/tagmail.rb
@@ -76,7 +76,7 @@ Puppet::Server::Report.newreport(:tagmail) do |report|
end
if messages.empty?
- Puppet.info "No messages to report for %s" % tag
+ Puppet.info "No messages to report to %s" % emails.join(",")
next
else
reports[emails] = messages.collect { |m| m.to_report }.join("\n")