Allow mail template to be empty
commit2c251603c8ad463925702c693f6ef8b55765044f
authorPeter Grayson <pete@jpgrayson.net>
Mon, 12 Jul 2021 20:18:52 +0000 (12 16:18 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Mon, 12 Jul 2021 20:39:26 +0000 (12 16:39 -0400)
tree54b52c1e73eebeba608c20cfa250f5cc8046bfe3
parente089d19f4d378eadc1da9322177348818b4cd88d
Allow mail template to be empty

It is no longer treated as an error if a user-provided mail template is
empty. I.e. we now distinguish between an empty file and file not found.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
stgit/commands/mail.py