Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1437:077235194ac2
oops, missed a +
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 17 Feb 2003 01:04:31 +0000 |
| parents | 2f6647cf5345 |
| children | 13c42b803101 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Mon Feb 17 00:39:28 2003 +0000 +++ b/roundup/cgi/client.py Mon Feb 17 01:04:31 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.87 2003-02-17 00:39:28 richard Exp $ +# $Id: client.py,v 1.88 2003-02-17 01:04:31 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -701,24 +701,26 @@ See parsePropsFromForm and _editnodes for special variables ''' # parse the props from the form - try: + if 1: +# try: props, links = self.parsePropsFromForm() - except (ValueError, KeyError), message: - self.error_message.append(_('Error: ') + str(message)) - return +# except (ValueError, KeyError), message: +# self.error_message.append(_('Error: ') + str(message)) +# return # handle the props - try: + if 1: +# try: message = self._editnodes(props, links) - except (ValueError, KeyError, IndexError), message: - self.error_message.append(_('Error: ') + str(message)) - return +# except (ValueError, KeyError, IndexError), message: +# self.error_message.append(_('Error: ') + str(message)) +# return # commit now that all the tricky stuff is done self.db.commit() # redirect to the item's edit page - raise Redirect, '%s%s%s?+ok_message=%s'%(self.base, self.classname, + raise Redirect, '%s%s%s?@ok_message=%s'%(self.base, self.classname, self.nodeid, urllib.quote(message)) def editItemPermission(self, props):
