Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 2244:ac4f295499a4
fixed journal marshalling in RDBMS backends [SF#943627]
fixed handling of key values starting with numbers [SF#941363]
fixed journal "param" column size in RDBMS backends
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 02 May 2004 23:16:05 +0000 |
| parents | ac24a9c74cca |
| children | cd7e6d6288c6 |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Sat May 01 08:19:00 2004 +0000 +++ b/roundup/cgi/actions.py Sun May 02 23:16:05 2004 +0000 @@ -1,4 +1,4 @@ -#$Id: actions.py,v 1.23 2004-04-05 06:13:42 richard Exp $ +#$Id: actions.py,v 1.24 2004-05-02 23:16:05 richard Exp $ import re, cgi, StringIO, urllib, Cookie, time, random @@ -494,7 +494,8 @@ try: message = self._editnodes(props, links) except (ValueError, KeyError, IndexError, exceptions.Reject), message: - self.client.error_message.append(_('Apply Error: ') + str(message)) + import traceback;traceback.print_exc() + self.client.error_message.append(_('Edit Error: ') + str(message)) return # commit now that all the tricky stuff is done @@ -532,7 +533,6 @@ try: # when it hits the None element, it'll set self.nodeid messages = self._editnodes(props, links) - except (ValueError, KeyError, IndexError, exceptions.Reject), message: # these errors might just be indicative of user dumbness self.client.error_message.append(_('Error: ') + str(message))
