[Zope3-checkins] CVS: Zope3/src/zope/textindex/tests - wordstats.py:1.3 queryhtml.py:1.3 mhindex.py:1.3 mailtest.py:1.3 indexhtml.py:1.3 hs-tool.py:1.3
Jeremy Hylton
jeremy@zope.com
Fri, 25 Apr 2003 15:29:12 -0400
Update of /cvs-repository/Zope3/src/zope/textindex/tests
In directory cvs.zope.org:/tmp/cvs-serv22051/src/zope/textindex/tests
Modified Files:
wordstats.py queryhtml.py mhindex.py mailtest.py indexhtml.py
hs-tool.py
Log Message:
Add missing copyright notices.
=== Zope3/src/zope/textindex/tests/wordstats.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/wordstats.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/wordstats.py Fri Apr 25 15:28:41 2003
@@ -1,4 +1,17 @@
#! /usr/bin/env python
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
"""Dump statistics about each word in the index.
usage: wordstats.py data.fs [index key]
=== Zope3/src/zope/textindex/tests/queryhtml.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/queryhtml.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/queryhtml.py Fri Apr 25 15:28:41 2003
@@ -1,3 +1,16 @@
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
import os
from time import clock
=== Zope3/src/zope/textindex/tests/mhindex.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/mhindex.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/mhindex.py Fri Apr 25 15:28:41 2003
@@ -1,5 +1,18 @@
#! /usr/bin/env python2.2
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
"""MH mail indexer.
To index messages from a single folder (messages defaults to 'all'):
=== Zope3/src/zope/textindex/tests/mailtest.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/mailtest.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/mailtest.py Fri Apr 25 15:28:41 2003
@@ -1,3 +1,16 @@
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
"""Test an index with a Unix mailbox file.
usage: python mailtest.py [options] <data.fs>
=== Zope3/src/zope/textindex/tests/indexhtml.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/indexhtml.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/indexhtml.py Fri Apr 25 15:28:41 2003
@@ -1,4 +1,17 @@
#! /usr/bin/env python
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
"""Index a collection of HTML files on the filesystem.
usage: indexhtml.py [options] dir
=== Zope3/src/zope/textindex/tests/hs-tool.py 1.2 => 1.3 ===
--- Zope3/src/zope/textindex/tests/hs-tool.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/textindex/tests/hs-tool.py Fri Apr 25 15:28:41 2003
@@ -1,5 +1,19 @@
#! /usr/bin/env python
+##############################################################################
+#
+# Copyright (c) 2003 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.
+#
+##############################################################################
+
import cPickle
import os.path
import sys