aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2007-04-11 19:40:01 +0000
committermatthew <matthew>2007-04-11 19:40:01 +0000
commit37e01f3ec9fe54470e1677f9f08b58575edb7f54 (patch)
treee4c33c0bdcb1b1d1465792f90537df6db0c7a76e
parent6465534156c2920785eaa94af125c51d6a8b6f2e (diff)
Don't print if nothing to check.
-rwxr-xr-xbin/send-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 02d1d1630..9877e7875 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-reports,v 1.30 2007-03-26 17:00:12 matthew Exp $
+# $Id: send-reports,v 1.31 2007-04-11 19:40:01 matthew Exp $
use strict;
require 5.8.0;
@@ -129,7 +129,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n";
}
}
-print "Council email addresses that need checking:\n";
+print "Council email addresses that need checking:\n" if keys %notgot;
foreach my $e (keys %notgot) {
foreach my $c (keys %{$notgot{$e}}) {
print $notgot{$e}{$c} . " problem, to $e category $c (" . $note{$e}{$c}. ")\n";