This eliminates the weird split between callers that handle an empty comment body themselves (in github.py) and callers that just blindly pass the comment body into fmt_short_comment_body and take whatever comes back.
Now, everyone expects fmt_short_comment_body() to do something sensible, even if the comment is empty or consists only of skippable lines (headers, comments, quotes).
This eliminates the weird split between callers that handle an empty comment body themselves (in
github.py
) and callers that just blindly pass the comment body intofmt_short_comment_body
and take whatever comes back.Now, everyone expects
fmt_short_comment_body()
to do something sensible, even if the comment is empty or consists only of skippable lines (headers, comments, quotes).