From 05d3950135de89c0d7a29376100a4430e3a29149 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 20 Jul 2001 00:17:16 +0000 Subject: [PATCH] Fixed adding a new issue when there is no __note git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@16 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup_cgi.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/roundup_cgi.py b/roundup_cgi.py index ea4fe0d..acc1ecb 100644 --- a/roundup_cgi.py +++ b/roundup_cgi.py @@ -1,4 +1,4 @@ -# $Id: roundup_cgi.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ +# $Id: roundup_cgi.py,v 1.5 2001-07-20 00:17:16 richard Exp $ import os, cgi, pprint, StringIO, urlparse, re, traceback @@ -386,12 +386,8 @@ class Client: summary = note m.append('\n%s\n'%note) else: - if len(changed) > 1: - plural = 's were' - else: - plural = ' was' - summary = 'This %s has been created through the web.'%cn - m.append('\n%s\n'%summary) + m.append('\nThis %s has been created through ' + 'the web.\n'%cn) # now create the message content = '\n'.join(m) @@ -482,6 +478,13 @@ class Client: # # $Log: not supported by cvs2svn $ +# Revision 1.4 2001/07/19 06:27:07 anthonybaxter +# fixing (manually) the (dollarsign)Log(dollarsign) entries caused by +# my using the magic (dollarsign)Id(dollarsign) and (dollarsign)Log(dollarsign) +# strings in a commit message. I'm a twonk. +# +# Also broke the help string in two. +# # Revision 1.3 2001/07/19 05:52:22 anthonybaxter # Added CVS keywords Id and Log to all python files. # -- 2.30.2