From a772e71f84f06d3dc997aba761f331b3131d9af6 Mon Sep 17 00:00:00 2001 From: helmutm Date: Sat, 9 Sep 2006 21:47:20 +0000 Subject: [PATCH] some minor fixes git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1334 fd906abe-77d9-0310-91a1-e0d9ade77398 --- README.txt | 2 +- resource.py | 2 +- search/search.pt | 13 ++++--------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.txt b/README.txt index b903314..00fa563 100755 --- a/README.txt +++ b/README.txt @@ -246,7 +246,7 @@ A common type of resource is a document: >>> doc1.title u'Zope Info' >>> doc1.data - '' + u'' >>> doc1.contentType u'' diff --git a/resource.py b/resource.py index 425d30a..301dd86 100644 --- a/resource.py +++ b/resource.py @@ -166,7 +166,7 @@ class Document(Resource): def __init__(self, title=u''): self.title = title - _data = '' + _data = u'' def setData(self, data): self._data = data def getData(self): return self._data data = property(getData, setData) diff --git a/search/search.pt b/search/search.pt index 924ac30..f5b2c31 100644 --- a/search/search.pt +++ b/search/search.pt @@ -171,15 +171,10 @@ - +