[Zope-Checkins] CVS: Zope/lib/python - Globals.py:1.53 ImageFile.py:1.13 LOG.py:1.7 Main.py:1.39 dcdb.py:1.5 ts_regex.py:1.14

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


Update of /cvs-repository/Zope/lib/python
In directory cvs.zope.org:/tmp/cvs-serv21797

Modified Files:
	Globals.py ImageFile.py LOG.py Main.py dcdb.py ts_regex.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/lib/python/Globals.py 1.52 => 1.53 ===
--- Zope/lib/python/Globals.py:1.52	Tue Jul  9 11:14:50 2002
+++ Zope/lib/python/Globals.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 
 """Global definitions"""


=== Zope/lib/python/ImageFile.py 1.12 => 1.13 ===
--- Zope/lib/python/ImageFile.py:1.12	Wed Nov 28 10:50:51 2001
+++ Zope/lib/python/ImageFile.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 """Image object that is stored in a file"""
 


=== Zope/lib/python/LOG.py 1.6 => 1.7 ===
--- Zope/lib/python/LOG.py:1.6	Wed Nov 28 10:50:51 2001
+++ Zope/lib/python/LOG.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 
 # We've renamed this module to zLOG. This one will dissappear soon.


=== Zope/lib/python/Main.py 1.38 => 1.39 ===
--- Zope/lib/python/Main.py:1.38	Thu Feb  7 13:07:00 2002
+++ Zope/lib/python/Main.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 """Provide a Main application for the Zope framework
 
@@ -40,11 +40,11 @@
 revision=read_only=None
 if os.environ.has_key('ZOPE_READ_ONLY'):
     read_only=1
-    try: 
+    try:
         from DateTime import DateTime
         revision=DateTime(os.environ['ZOPE_READ_ONLY']).timeTime()
     except: pass
-        
+
 Bobobase=Globals.Bobobase=BoboPOS.PickleDictionary(
     Globals.BobobaseName, read_only=read_only, revision=revision)
 Globals.opened.append(Bobobase)


=== Zope/lib/python/dcdb.py 1.4 => 1.5 ===
--- Zope/lib/python/dcdb.py:1.4	Wed Nov 28 10:50:51 2001
+++ Zope/lib/python/dcdb.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 def debug():
     x=1


=== Zope/lib/python/ts_regex.py 1.13 => 1.14 ===
--- Zope/lib/python/ts_regex.py:1.13	Wed Nov 28 10:50:51 2001
+++ Zope/lib/python/ts_regex.py	Wed Aug 14 18:13:16 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
-# 
+#
 ##############################################################################
 """Provide a thread-safe interface to regex
 """
@@ -16,7 +16,7 @@
 from regex import *
 from regsub import split, sub, gsub, splitx, capwords
 
-try: 
+try:
     import thread
 except:
     class allocate_lock:
@@ -71,7 +71,7 @@
         self.__a()
         try: return self._r.search(string, pos)
         finally: self.__r()
-        
+
     def search_group(self, str, group, pos=0):
         """Search a string for a pattern.
 
@@ -136,8 +136,3 @@
         self._r=r=apply(regex.symcomp,args)
         self._init(r)
         self.groupindex=r.groupindex
-
-
-
-
-