summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-02-01 06:59:42 +1100
committerJed Barber <jjbarber@y7mail.com>2017-02-01 06:59:42 +1100
commita466147461556b68e702368caee96c785d39b9d4 (patch)
treeed4b05015736af4f19cc90ca16c2d43a0fbbd791 /src
parentca7337e57786a0db79865d63e797b574942795e0 (diff)
Minor tweak of bulk exclusion logging
Diffstat (limited to 'src')
-rw-r--r--src/Election.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Election.hs b/src/Election.hs
index 8a0e4d0..f3b504e 100644
--- a/src/Election.hs
+++ b/src/Election.hs
@@ -363,7 +363,8 @@ excludeCandidates e = do
then if (n > 0)
then do
MIO.liftIO $ Con.when (n > 1) $ do
- let logmsg = "Bulk exclusion at logfile #" ++ show (getNextLogNum e)
+ let logmsg = "Bulk exclusion of " ++ show n ++
+ " candidates at logfile #" ++ show (getNextLogNum e)
IO.appendFile (getMainLog e) (logmsg ++ "\n")
Con.when (isVerbose e) (IO.hPutStrLn IO.stderr logmsg)
ET.left e