Mercurial > p > roundup > code
comparison roundup/cgi_client.py @ 737:3a653d485bbc
Oops
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 22 May 2002 05:04:13 +0000 |
| parents | b0d887310f7a |
| children | 087edbd12016 |
comparison
equal
deleted
inserted
replaced
| 736:b0d887310f7a | 737:3a653d485bbc |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: cgi_client.py,v 1.122 2002-05-22 04:12:05 richard Exp $ | 18 # $Id: cgi_client.py,v 1.123 2002-05-22 05:04:13 richard Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 WWW request handler (also used in the stand-alone server). | 21 WWW request handler (also used in the stand-alone server). |
| 22 """ | 22 """ |
| 23 | 23 |
| 580 | 580 |
| 581 def _add_assignedto_to_nosy(self, props): | 581 def _add_assignedto_to_nosy(self, props): |
| 582 ''' add the assignedto value from the props to the nosy list | 582 ''' add the assignedto value from the props to the nosy list |
| 583 ''' | 583 ''' |
| 584 # get the properties definition and make some checks | 584 # get the properties definition and make some checks |
| 585 if not props.has_key('assignedto'): | |
| 586 return | |
| 585 cl = self.db.classes[self.classname] | 587 cl = self.db.classes[self.classname] |
| 586 propdef = cl.getprops() | 588 propdef = cl.getprops() |
| 587 if not propdef.has_key('assignedto') or not propdef.has_key('nosy'): | 589 if not propdef.has_key('assignedto') or not propdef.has_key('nosy'): |
| 588 return | 590 return |
| 589 | 591 |
| 1393 props[key] = value | 1395 props[key] = value |
| 1394 return props | 1396 return props |
| 1395 | 1397 |
| 1396 # | 1398 # |
| 1397 # $Log: not supported by cvs2svn $ | 1399 # $Log: not supported by cvs2svn $ |
| 1400 # Revision 1.122 2002/05/22 04:12:05 richard | |
| 1401 # . applied patch #558876 ] cgi client customization | |
| 1402 # ... with significant additions and modifications ;) | |
| 1403 # - extended handling of ML assignedto to all places it's handled | |
| 1404 # - added more NotFound info | |
| 1405 # | |
| 1398 # Revision 1.121 2002/05/21 06:08:10 richard | 1406 # Revision 1.121 2002/05/21 06:08:10 richard |
| 1399 # Handle migration | 1407 # Handle migration |
| 1400 # | 1408 # |
| 1401 # Revision 1.120 2002/05/21 06:05:53 richard | 1409 # Revision 1.120 2002/05/21 06:05:53 richard |
| 1402 # . #551483 ] assignedto in Client.make_index_link | 1410 # . #551483 ] assignedto in Client.make_index_link |
