From 16fee874e7d2591849708b47ae0f486637d42cbc Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Tue, 17 Oct 2006 19:37:26 +0100 Subject: [PATCH] Fix the --cover option. Signed-off-by: Robin Rosenberg Signed-off-by: Catalin Marinas --- stgit/commands/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.11.0