[Zope3-checkins] CVS: Zope3/src/zope/products/pythonpage -
__init__.py:1.3
Anthony Baxter
anthony at interlink.com.au
Mon Feb 2 10:03:42 EST 2004
Update of /cvs-repository/Zope3/src/zope/products/pythonpage
In directory cvs.zope.org:/tmp/cvs-serv25832/products/pythonpage
Modified Files:
__init__.py
Log Message:
Fixed test failures (not mine - I was just setting up stuff for a live demo
tomorrow night and found them broken).
Note that the z.app.interpreter.python file had some "needed for
2.2" code - this did not work under 2.3. Indeed, as it was trying to
concatenate a code object and a newline, I can't see how it'd work
there, either. Since we don't run on less than 2.3, I can't see why
the code is needed.
If the package is meant to be usable under 2.2, feel free to revert
the change and replace it with code that still works on 2.3.
=== Zope3/src/zope/products/pythonpage/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/products/pythonpage/__init__.py:1.2 Fri Jan 30 18:28:40 2004
+++ Zope3/src/zope/products/pythonpage/__init__.py Mon Feb 2 10:03:41 2004
@@ -110,7 +110,7 @@
"""Initialize the object."""
super(PythonPage, self).__init__()
self.source = source
- self.contentType = content_type
+ self.contentType = contentType
def __filename(self):
if self.__parent__ is None:
More information about the Zope3-Checkins
mailing list