[Zope-Checkins] CVS: Zope/lib/python/Products/SiteErrorLog - SiteErrorLog.py:1.10 __init__.py:1.3

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


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

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


=== Zope/lib/python/Products/SiteErrorLog/SiteErrorLog.py 1.9 => 1.10 ===
--- Zope/lib/python/Products/SiteErrorLog/SiteErrorLog.py:1.9	Sat Jun 29 14:46:45 2002
+++ Zope/lib/python/Products/SiteErrorLog/SiteErrorLog.py	Wed Aug 14 18:25:11 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 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.
-# 
+#
 ##############################################################################
 """Site error log module.
 
@@ -46,7 +46,7 @@
 _rate_restrict_pool = {}
 
 # The number of seconds that must elapse on average between sending two
-# exceptions of the same name into the the Event Log. one per minute. 
+# exceptions of the same name into the the Event Log. one per minute.
 _rate_restrict_period = 60
 
 # The number of exceptions to allow in a burst before the above limit
@@ -136,7 +136,7 @@
                 strtype = str(getattr(info[0], '__name__', info[0]))
                 if strtype in self._ignored_exceptions:
                     return
-                                
+
                 if not isinstance(info[2], StringType) and not isinstance(
                     info[2], UnicodeType):
                     tb_text = ''.join(
@@ -227,7 +227,7 @@
             RESPONSE.redirect(
                 '%s/manage_main?manage_tabs_message=Changed+properties.' %
                 self.absolute_url())
-    
+
     security.declareProtected(use_error_logging, 'getLogEntries')
     def getLogEntries(self):
         """Returns the entries in the log.
@@ -272,4 +272,3 @@
         RESPONSE.redirect(
             dispatcher.DestinationURL() +
             '/manage_main?manage_tabs_message=Error+Log+Added.' )
-


=== Zope/lib/python/Products/SiteErrorLog/__init__.py 1.2 => 1.3 ===
--- Zope/lib/python/Products/SiteErrorLog/__init__.py:1.2	Wed Apr  3 15:43:55 2002
+++ Zope/lib/python/Products/SiteErrorLog/__init__.py	Wed Aug 14 18:25:11 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 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.
-# 
+#
 ##############################################################################
 """Site error log product.
 
@@ -23,4 +23,3 @@
                           constructors=(SiteErrorLog.manage_addErrorLog,),
                           permission=SiteErrorLog.use_error_logging,
                           icon='www/error.gif')
-