Skip to content

Commit a8e9d39

Browse files
author
Richard Jones
committed
Fixed adding a new issue when there is no __note
1 parent 4bd06cf commit a8e9d39

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

roundup_cgi.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: roundup_cgi.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $
1+
# $Id: roundup_cgi.py,v 1.5 2001-07-20 00:17:16 richard Exp $
22

33
import os, cgi, pprint, StringIO, urlparse, re, traceback
44

@@ -386,12 +386,8 @@ def newissue(self, message=None):
386386
summary = note
387387
m.append('\n%s\n'%note)
388388
else:
389-
if len(changed) > 1:
390-
plural = 's were'
391-
else:
392-
plural = ' was'
393-
summary = 'This %s has been created through the web.'%cn
394-
m.append('\n%s\n'%summary)
389+
m.append('\nThis %s has been created through '
390+
'the web.\n'%cn)
395391

396392
# now create the message
397393
content = '\n'.join(m)
@@ -482,6 +478,13 @@ def __del__(self):
482478

483479
#
484480
# $Log: not supported by cvs2svn $
481+
# Revision 1.4 2001/07/19 06:27:07 anthonybaxter
482+
# fixing (manually) the (dollarsign)Log(dollarsign) entries caused by
483+
# my using the magic (dollarsign)Id(dollarsign) and (dollarsign)Log(dollarsign)
484+
# strings in a commit message. I'm a twonk.
485+
#
486+
# Also broke the help string in two.
487+
#
485488
# Revision 1.3 2001/07/19 05:52:22 anthonybaxter
486489
# Added CVS keywords Id and Log to all python files.
487490
#

0 commit comments

Comments
 (0)