Mercurial > p > roundup > code
view roundup/cgi/TAL/__init__.py @ 5383:6fbb7d52e38f
Python 3 preparation: use open() instead of file().
Tool-assisted patch. Note one case where a simple substitution did not
suffice because the change was in a class that defined its own open()
method earlier, and thus needed to use builtins.open (respectively
__builtin__.open in Python 2).
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 22:10:24 +0000 |
| parents | 8c2402a78bb0 |
| children |
line wrap: on
line source
############################################################################## # # Copyright (c) 2001, 2002 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 # ############################################################################## """ Template Attribute Language package """
