Code

Fixed adding a new issue when there is no __note
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Jul 2001 00:17:16 +0000 (00:17 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Jul 2001 00:17:16 +0000 (00:17 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@16 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup_cgi.py

index ea4fe0d946d393f7f5d566c59df2294eafed973d..acc1ecb768212c8830cfddb10307183f0d3de852 100644 (file)
@@ -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.
 #