[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/DateIndex - DateIndex.py:1.7

Martijn Pieters mj@zope.com
Wed, 14 Aug 2002 18:19:58 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/DateIndex
In directory cvs.zope.org:/tmp/cvs-serv24540/DateIndex

Modified Files:
	DateIndex.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py 1.6 => 1.7 ===
--- Zope/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py:1.6	Tue Jul 30 12:25:46 2002
+++ Zope/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py	Wed Aug 14 18:19:27 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 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
-# 
+#
 ##############################################################################
 
 """$Id$
@@ -99,12 +99,12 @@
         index = self._index
         r = None
         opr = None
-                                
+
         #experimental code for specifing the operator
         operator = record.get( 'operator', self.useOperator )
         if not operator in self.operators :
             raise RuntimeError, "operator not valid: %s" % operator
-                                                                          
+
         # depending on the operator we use intersection or union
         if operator=="or":
             set_func = union
@@ -145,7 +145,7 @@
             #for k, set in setlist:
                 #if type(set) is IntType:
                     #set = IISet((set,))
-                #r = set_func(r, set) 
+                #r = set_func(r, set)
             # XXX: Use multiunion!
             r = multiunion(setlist)
 
@@ -201,4 +201,3 @@
     """Add a Date index"""
     return self.manage_addIndex(id, 'DateIndex', extra=None, \
                     REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL3)
-