|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: cgi_client.py,v 1.95 2002-01-10 03:39:45 richard Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.96 2002-01-10 05:26:10 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -400,7 +400,7 @@ def _createnode(self): |
400 | 400 | ''' create a node based on the contents of the form |
401 | 401 | ''' |
402 | 402 | cl = self.db.classes[self.classname] |
403 | | - props, dummy = parsePropsFromForm(self.db, cl, self.form) |
| 403 | + props = parsePropsFromForm(self.db, cl, self.form) |
404 | 404 |
|
405 | 405 | # set status to 'unread' if not specified - a status of '- no |
406 | 406 | # selection -' doesn't make sense |
@@ -595,7 +595,6 @@ def newuser(self, message=None): |
595 | 595 | if [i for i in keys if i[0] != ':']: |
596 | 596 | try: |
597 | 597 | props = parsePropsFromForm(self.db, cl, self.form) |
598 | | - print props |
599 | 598 | nid = cl.create(**props) |
600 | 599 | # handle linked nodes |
601 | 600 | self._post_editnode(nid) |
@@ -1179,6 +1178,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0): |
1179 | 1178 |
|
1180 | 1179 | # |
1181 | 1180 | # $Log: not supported by cvs2svn $ |
| 1181 | +# Revision 1.95 2002/01/10 03:39:45 richard |
| 1182 | +# . fixed some problems with web editing and change detection |
| 1183 | +# |
1182 | 1184 | # Revision 1.94 2002/01/09 13:54:21 grubert |
1183 | 1185 | # _add_assignedto_to_nosy did set nosy to assignedto only, no adding. |
1184 | 1186 | # |
|
0 commit comments