[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-53-g402494c
Sandro Tosi
morph at debian.org
Wed Sep 14 20:50:51 UTC 2011
The following commit has been merged in the master branch:
commit 402494c7fd290c920be2264cbc2923e24b889f70
Author: Sandro Tosi <morph at debian.org>
Date: Wed Sep 14 22:49:43 2011 +0200
support claws-mail MUA; thanks to David Paleino for the report and patch; Closes: #532082
diff --git a/debian/changelog b/debian/changelog
index 12925fc..c52dfc2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+reportbug (6.2.2) UNRELEASED; urgency=low
+
+ * reportbug/utils.py
+ - support claws-mail MUA; thanks to David Paleino for the report and patch;
+ Closes: #532082
+
+ -- Sandro Tosi <morph at debian.org> Wed, 14 Sep 2011 22:47:19 +0200
+
reportbug (6.2.1) unstable; urgency=low
* bin/reportbug
diff --git a/reportbug/utils.py b/reportbug/utils.py
index fe819a3..ec85e12 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -848,6 +848,7 @@ MUA = {
'mutt' : Mua('mutt -H'),
'mh' : Mua('/usr/bin/mh/comp -use -file'),
'gnus' : Gnus(),
+ 'claws-mail' : Mua('claws-mail --compose-read'),
}
MUA['nmh'] = MUA['mh']
@@ -856,6 +857,7 @@ MUAVERSION = {
MUA['mutt'] : 'mutt -v',
MUA['mh'] : '/usr/bin/mh/comp -use -file',
MUA['gnus'] : 'emacs --version',
+ MUA['claws-mail'] : 'claws-mail --version',
}
def mua_is_supported(mua):
diff --git a/test/test_utils.py b/test/test_utils.py
index 84db634..492dd5e 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -268,20 +268,20 @@ class TestMua(unittest2.TestCase):
def test_mua_is_supported(self):
- for mua in ('mh', 'nmh', 'gnus', 'mutt'):
+ for mua in ('mh', 'nmh', 'gnus', 'mutt', 'claws-mail'):
self.assertTrue(utils.mua_is_supported(mua))
self.assertFalse(utils.mua_is_supported('mua-of-my-dreams'))
def test_mua_exists(self):
- for mua in ('mh', 'nmh', 'gnus', 'mutt'):
+ for mua in ('mh', 'nmh', 'gnus', 'mutt', 'claws-mail'):
if not utils.mua_exists(mua):
self.fail("%s MUA program not available" % mua)
def test_mua_name(self):
- for mua in ('mh', 'nmh', 'gnus', 'mutt'):
+ for mua in ('mh', 'nmh', 'gnus', 'mutt', 'claws-mail'):
self.assertIsInstance(utils.mua_name(mua), utils.Mua)
self.assertEqual(utils.mua_name('mua-of-my-dreams'), 'mua-of-my-dreams')
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list