Menu

#408 Remove Confusing Double Neagative From Email Messages

open
nobody
5
2010-09-13
2010-09-13
No

The email sent by PloneMaintenance for my system fo rpacking the ZODB looks like this:
Summary of \"Pack all ZODBs\" task:
- running script: packAllDBs
- start date: 2010/09/13 03:00:02.306 US/Mountain
- end date: 2010/09/13 03:00:13.364 US/Mountain
- failed : False

The result from the maintenance task are presented as a double negative - failed: False. I would prefer that the result be presented in a more standard format such as result: failed or result: OK.

There are several reasons to make this change:
1. Using a double negative to represent a positive outcome is poor coding style
2. A double negative is grammatically incorrect
3. A quick scan of the email (visually) causes false positives - the message says failed by in reality the process did not
4. Scanning these emails with a script requires more testing because the message contains the word failed, but in reality the task succeeded.

Thanks

Discussion


Log in to post a comment.

MongoDB Logo MongoDB