[Zope3-checkins] CVS: Products3/bugtracker/browser - bug.py:1.8
Adam Summers
adams@modernnoise.com
Fri, 1 Aug 2003 00:46:39 -0400
Update of /cvs-repository/Products3/bugtracker/browser
In directory cvs.zope.org:/tmp/cvs-serv15452/Products3/bugtracker/browser
Modified Files:
bug.py
Log Message:
Modified int() typecast of string, so that multiple comments can be added.
=== Products3/bugtracker/browser/bug.py 1.7 => 1.8 ===
--- Products3/bugtracker/browser/bug.py:1.7 Sat Jul 26 17:25:54 2003
+++ Products3/bugtracker/browser/bug.py Fri Aug 1 00:46:33 2003
@@ -51,7 +51,7 @@
if IComment.isImplementedBy(content):
names = filter(lambda n: n.startswith('comment'), container.keys())
- int_names = map(lambda n: int(n), names)
+ int_names = map(lambda n: int(n[7:]), names)
if not container.keys():
self.contentName = 'comment1'
else: