Mercurial > p > roundup > code
diff roundup/mailgw.py @ 464:29f5ac8a0d2b
Fixed bugs:
. Fixed file creation and retrieval in same transaction in anydbm
backend
. Cgi interface now renders new issue after issue creation
. Could not set issue status to resolved through cgi interface
. Mail gateway was changing status back to 'chatting' if status was
omitted as an argument
| author | Roche Compaan <rochecompaan@users.sourceforge.net> |
|---|---|
| date | Tue, 18 Dec 2001 15:30:34 +0000 |
| parents | eed9359b448d |
| children | 103f521810f7 |
line wrap: on
line diff
--- a/roundup/mailgw.py Tue Dec 18 05:05:14 2001 +0000 +++ b/roundup/mailgw.py Tue Dec 18 15:30:34 2001 +0000 @@ -73,7 +73,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.43 2001-12-15 19:39:01 rochecompaan Exp $ +$Id: mailgw.py,v 1.44 2001-12-18 15:30:34 rochecompaan Exp $ ''' @@ -488,9 +488,9 @@ except KeyError: pass else: - if (not props.has_key('status') or - props['status'] == unread_id or - props['status'] == resolved_id): + if (not props.has_key('status') and + properties['status'] == unread_id or + properties['status'] == resolved_id): props['status'] = chatting_id # add nosy in arguments to issue's nosy list @@ -638,6 +638,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.43 2001/12/15 19:39:01 rochecompaan +# Oops. +# # Revision 1.42 2001/12/15 19:24:39 rochecompaan # . Modified cgi interface to change properties only once all changes are # collected, files created and messages generated.
