Skip to content

Commit 9ca74dc

Browse files
author
Richard Jones
committed
oops, missed a +
1 parent 781d017 commit 9ca74dc

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

roundup/cgi/client.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.87 2003-02-17 00:39:28 richard Exp $
1+
# $Id: client.py,v 1.88 2003-02-17 01:04:31 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -701,24 +701,26 @@ def editItemAction(self):
701701
See parsePropsFromForm and _editnodes for special variables
702702
'''
703703
# parse the props from the form
704-
try:
704+
if 1:
705+
# try:
705706
props, links = self.parsePropsFromForm()
706-
except (ValueError, KeyError), message:
707-
self.error_message.append(_('Error: ') + str(message))
708-
return
707+
# except (ValueError, KeyError), message:
708+
# self.error_message.append(_('Error: ') + str(message))
709+
# return
709710

710711
# handle the props
711-
try:
712+
if 1:
713+
# try:
712714
message = self._editnodes(props, links)
713-
except (ValueError, KeyError, IndexError), message:
714-
self.error_message.append(_('Error: ') + str(message))
715-
return
715+
# except (ValueError, KeyError, IndexError), message:
716+
# self.error_message.append(_('Error: ') + str(message))
717+
# return
716718

717719
# commit now that all the tricky stuff is done
718720
self.db.commit()
719721

720722
# redirect to the item's edit page
721-
raise Redirect, '%s%s%s?+ok_message=%s'%(self.base, self.classname,
723+
raise Redirect, '%s%s%s?@ok_message=%s'%(self.base, self.classname,
722724
self.nodeid, urllib.quote(message))
723725

724726
def editItemPermission(self, props):

0 commit comments

Comments
 (0)