reviewstats: don't write 'None' if duration is unset #11

Closed
pilou wants to merge 1 commits from pilou/hebdobot:reviewstats_keep_current_format into main

1 Commits

Author SHA1 Message Date
919bb59859
reviewstats: don't write 'None' if duration is unset
Keep the current reviewstats format: when review duration is unset/unknown,
the line contains only two values separated by one tab and then EOL.

Another way to test/reproduce the fixed issue:
1. add 'lllll : !stats' to tests/datas/irc.txt
2. run 'pytest tests/test_review_stats.py'
2024-07-21 15:18:52 +02:00