Hi,

Here is a patch.

Regards,
Valentin Lorentz
From 40ecdba4db09d579a7715031dbd8ea0691fd9d9b Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <prog...@progval.net>
Date: Sat, 7 Apr 2012 16:36:28 +0200
Subject: [PATCH] Fix crash when using claws-mail as a mailer.

---
 reportbug/utils.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/reportbug/utils.py b/reportbug/utils.py
index c0f596a..b398187 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -895,6 +895,8 @@ def mua_exists(mua):
         mua_tmp = MUA['gnus']
     elif mua == 'mutt' or mua == MUA['mutt']:
         mua_tmp = MUA['mutt']
+    elif mua == 'claws-mail' or mua == MUA['claws-mail']:
+        mua_tmp = MUA['claws-mail']
     else:
         mua_tmp = MUA[mua]
     output = '/dev/null'
-- 
1.7.9.5

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reportbug-maint mailing list
Reportbug-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint

Reply via email to