]> git.tokkee.org Git - roundup.git/commitdiff

Code

oops, missed a +
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 17 Feb 2003 01:04:31 +0000 (01:04 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 17 Feb 2003 01:04:31 +0000 (01:04 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1515 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 23edf8fdacb330c5cfbe7159b3096f5db8405fb1..75c0348f7f783ee0b901391703b647aaf8102d72 100644 (file)
@@ -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 @@ class Client:
            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):