[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/apidoc/codemodule/text.py
fix apidoc tests broken in r39760
Benji York
benji at zope.com
Mon Oct 31 11:03:07 EST 2005
Log message for revision 39774:
fix apidoc tests broken in r39760
Changed:
U Zope3/trunk/src/zope/app/apidoc/codemodule/text.py
-=-
Modified: Zope3/trunk/src/zope/app/apidoc/codemodule/text.py
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/codemodule/text.py 2005-10-31 15:52:04 UTC (rev 39773)
+++ Zope3/trunk/src/zope/app/apidoc/codemodule/text.py 2005-10-31 16:03:07 UTC (rev 39774)
@@ -29,7 +29,7 @@
self.__name__ = name
def getContent(self):
- file = open(self.path, 'rb')
+ file = open(self.path, 'rU')
content = file.read()
file.close()
return content.decode('utf-8')
More information about the Zope3-Checkins
mailing list