|
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.77 2001-12-06 22:48:29 richard Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.78 2001-12-07 05:59:27 rochecompaan Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -313,7 +313,7 @@ def shownode(self, message=None): |
313 | 313 | self.nodeid) |
314 | 314 |
|
315 | 315 | # set status to chatting if 'unread' or 'resolved' |
316 | | - if 'status' not in changed.keys(): |
| 316 | + if not changed.has_key('status'): |
317 | 317 | try: |
318 | 318 | # determine the id of 'unread','resolved' and 'chatting' |
319 | 319 | unread_id = self.db.status.lookup('unread') |
@@ -525,7 +525,8 @@ def _post_editnode(self, nid, change_note=None): |
525 | 525 | m = [summary] |
526 | 526 |
|
527 | 527 | # append the change note |
528 | | - m.append(change_note) |
| 528 | + if change_note: |
| 529 | + m.append(change_note) |
529 | 530 |
|
530 | 531 | # now create the message |
531 | 532 | content = '\n'.join(m) |
@@ -1084,6 +1085,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0): |
1084 | 1085 |
|
1085 | 1086 | # |
1086 | 1087 | # $Log: not supported by cvs2svn $ |
| 1088 | +# Revision 1.77 2001/12/06 22:48:29 richard |
| 1089 | +# files multilink was being nuked in post_edit_node |
| 1090 | +# |
1087 | 1091 | # Revision 1.76 2001/12/05 14:26:44 rochecompaan |
1088 | 1092 | # Removed generation of change note from "sendmessage" in roundupdb.py. |
1089 | 1093 | # The change note is now generated when the message is created. |
|
0 commit comments