Mercurial > p > roundup > code
comparison roundup/cgi/client.py @ 1447:6118d4498db3
added "foo@" prefix to all but "context" form variable names
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 18 Feb 2003 10:58:33 +0000 |
| parents | 8ce33ce262a4 |
| children | 745ceee35ca2 |
comparison
equal
deleted
inserted
replaced
| 1446:8ce33ce262a4 | 1447:6118d4498db3 |
|---|---|
| 1 # $Id: client.py,v 1.94 2003-02-18 06:15:21 richard Exp $ | 1 # $Id: client.py,v 1.95 2003-02-18 10:58:32 richard Exp $ |
| 2 | 2 |
| 3 __doc__ = """ | 3 __doc__ = """ |
| 4 WWW request handler (also used in the stand-alone server). | 4 WWW request handler (also used in the stand-alone server). |
| 5 """ | 5 """ |
| 6 | 6 |
| 1573 if not isinstance(cl, hyperdb.FileClass): | 1573 if not isinstance(cl, hyperdb.FileClass): |
| 1574 continue | 1574 continue |
| 1575 # we also don't want to create FileClass items with no content | 1575 # we also don't want to create FileClass items with no content |
| 1576 if not props.get('content', ''): | 1576 if not props.get('content', ''): |
| 1577 del all_props[(cn, id)] | 1577 del all_props[(cn, id)] |
| 1578 | |
| 1579 return all_props, all_links | 1578 return all_props, all_links |
| 1580 | 1579 |
| 1581 def fixNewlines(text): | 1580 def fixNewlines(text): |
| 1582 ''' Homogenise line endings. | 1581 ''' Homogenise line endings. |
| 1583 | 1582 |
