Mercurial > p > roundup > code
view roundup/cgi/ZTUtils/__init__.py @ 3874:4c8d853017f2
strip rolename & fix rolename unittest
- strip the rolename earlier in processing so we handle pure-whitespace
- change modeline per alex's suggestion
- add unittest for all-white space roles
- somehow I managed to check in a broken unittest previously. add in
the user lookup so it works.
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Fri, 31 Aug 2007 17:45:17 +0000 |
| parents | fc52d57c6c3e |
| children | 6e3e4f24c753 |
line wrap: on
line source
############################################################################## # # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE # ############################################################################## __doc__='''Package of template utility classes and functions. Modified for Roundup 0.5 release: - removed Zope imports $Id: __init__.py,v 1.3 2004-02-11 23:55:09 richard Exp $''' __docformat__ = 'restructuredtext' __version__='$Revision: 1.3 $'[11:-2] from Batch import Batch from Iterator import Iterator
