[Commits] (vajda) more on StringReader
commits at osafoundation.org
commits at osafoundation.org
Sat May 1 16:24:10 PDT 2004
Commit by: vajda
Modified files:
internal/PyLucene/test/test_PyLucene.py 1.1 1.2
Log message:
more on StringReader
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/PyLucene/test/test_PyLucene.py.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
Index: internal/PyLucene/test/test_PyLucene.py
diff -u internal/PyLucene/test/test_PyLucene.py:1.1 internal/PyLucene/test/test_PyLucene.py:1.2
--- internal/PyLucene/test/test_PyLucene.py:1.1 Sat May 1 16:06:27 2004
+++ internal/PyLucene/test/test_PyLucene.py Sat May 1 16:23:40 2004
@@ -35,10 +35,7 @@
if text is None:
return None
- if length >= len(text):
- length = -1
-
- if length == -1:
+ if length == -1 or length >= len(text):
self.unicodeText = None
return text
More information about the Commits
mailing list