Skip to content

Commit 60b4db2

Browse files
author
Richard Jones
committed
Removed the "This issue has been edited through the web"...
...when a valid change note is supplied.
1 parent e0f93ff commit 60b4db2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

roundup/cgi_client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.68 2001-11-29 04:57:23 richard Exp $
18+
# $Id: cgi_client.py,v 1.69 2001-11-29 23:19:51 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -488,15 +488,14 @@ def _post_editnode(self, nid, changes=None):
488488
props['messages'].classname == 'msg'):
489489

490490
# handle the note
491-
edit_msg = 'This %s has been edited through the web.\n'%cn
492491
if note:
493492
if '\n' in note:
494493
summary = re.split(r'\n\r?', note)[0]
495494
else:
496495
summary = note
497-
m = [edit_msg + '%s\n'%note]
496+
m = ['%s\n'%note]
498497
else:
499-
summary = edit_msg
498+
summary = 'This %s has been edited through the web.\n'%cn
500499
m = [summary]
501500

502501
# figure the changes and add them to the message
@@ -1047,6 +1046,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
10471046

10481047
#
10491048
# $Log: not supported by cvs2svn $
1049+
# Revision 1.68 2001/11/29 04:57:23 richard
1050+
# a little comment
1051+
#
10501052
# Revision 1.67 2001/11/28 21:55:35 richard
10511053
# . login_action and newuser_action return values were being ignored
10521054
# . Woohoo! Found that bloody re-login bug that was killing the mail

0 commit comments

Comments
 (0)