From: Robin Rosenberg Date: Tue, 17 Oct 2006 18:37:26 +0000 (+0100) Subject: Fix the --cover option. X-Git-Tag: v0.14.3~458 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/16fee874e7d2591849708b47ae0f486637d42cbc Fix the --cover option. Signed-off-by: Robin Rosenberg Signed-off-by: Catalin Marinas --- diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index bd56f16..c3c047a 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -404,7 +404,7 @@ def func(parser, options, args): if options.cover or options.edit: # find the template file if options.cover: - tmpl = file(options.template).read() + tmpl = file(options.cover).read() else: tmpl = templates.get_template('covermail.tmpl') if not tmpl: