Roundup Tracker - Issues

Issue 2550697

classification
Submit an issue using mailgw.py raises AttributeError: parsedMessage instance has no attribute 'default_class'
Type: behavior Severity: major
Components: Mail interface Versions: 1.4
process
Status: closed fixed
:
: : htouv, richard, schlatterbeck
Priority: normal :

Created on 2011-04-13 17:16 by htouv, last changed 2011-04-14 07:08 by schlatterbeck.

Messages
msg4271 Author: [hidden] (htouv) Date: 2011-04-13 17:16
This bug has been introduced at Revision 4577 in mailgw.py line 707

        if self.mailgw.default_class:
	            attempts.append(self.default_class)
	else:
	            attempts.append(self.config['MAILGW_DEFAULT_CLASS'])


should be replaced by 
        if self.mailgw.default_class:
	            attempts.append(self.mailgw.default_class)
	else:
	            attempts.append(self.config['MAILGW_DEFAULT_CLASS'])
msg4275 Author: [hidden] (richard) Date: 2011-04-14 05:29
Thanks, fixed in r4586
msg4276 Author: [hidden] (schlatterbeck) Date: 2011-04-14 07:08
Thanks Richard for cleaning up after me. Seems we didn't have a
regression test for the -c option to mailgw, I've just committed one
that would have caught that bug.

Thanks Hubert for spotting this!

Ralf
History
Date User Action Args
2011-04-14 07:08:37schlatterbecksetnosy: + schlatterbeck
messages: + msg4276
2011-04-14 05:29:47richardsetstatus: new -> closed
priority: normal
resolution: fixed
messages: + msg4275
nosy: + richard
2011-04-13 17:16:55htouvcreate