[Zodb-checkins] CVS: Zope/lib/python/zLOG - FormatException.py:1.7 MinimalLogger.py:1.12 __init__.py:1.8

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


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

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


=== Zope/lib/python/zLOG/FormatException.py 1.6 => 1.7 ===
--- Zope/lib/python/zLOG/FormatException.py:1.6	Wed Apr  3 15:44:01 2002
+++ Zope/lib/python/zLOG/FormatException.py	Wed Aug 14 18:12:33 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
-# 
+#
 ##############################################################################
 __version__='$Revision$'[11:-2]
 


=== Zope/lib/python/zLOG/MinimalLogger.py 1.11 => 1.12 ===
--- Zope/lib/python/zLOG/MinimalLogger.py:1.11	Mon Aug  5 17:54:45 2002
+++ Zope/lib/python/zLOG/MinimalLogger.py	Wed Aug 14 18:12:33 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
-# 
+#
 ##############################################################################
 __version__='$Revision$'[11:-2]
 
@@ -21,10 +21,10 @@
     -300: 'TRACE',
     -200: 'DEBUG',
     -100: 'BLATHER',
-       0: 'INFO',       
-     100: 'PROBLEM', 
-     200: 'ERROR',    
-     300: 'PANIC', 
+       0: 'INFO',
+     100: 'PROBLEM',
+     200: 'ERROR',
+     300: 'PANIC',
     }):
     """Convert a severity code to a string."""
     s = mapping.get(int(severity), '')
@@ -71,7 +71,7 @@
             _log_level = int(severity)
         else:
             _log_level = 0 # INFO
-    
+
     def log(self, subsystem, severity, summary, detail, error):
         if _log_dest is None or severity < _log_level:
             return


=== Zope/lib/python/zLOG/__init__.py 1.7 => 1.8 ===
--- Zope/lib/python/zLOG/__init__.py:1.7	Mon Aug  5 17:47:36 2002
+++ Zope/lib/python/zLOG/__init__.py	Wed Aug 14 18:12:33 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
-# 
+#
 ##############################################################################
 
 """General logging facility
@@ -70,7 +70,7 @@
 
 The callable object can provide a reinitialize method that may be
 called with no arguments to reopen the log files (if any) as part of a
-log-rotation facility. 
+log-rotation facility.
 
 There is a default event logging facility that:
 
@@ -96,10 +96,10 @@
 TRACE   = -300
 DEBUG   = -200
 BLATHER = -100
-INFO    =    0      
+INFO    =    0
 PROBLEM =  100
-WARNING =  100             
-ERROR   =  200   
+WARNING =  100
+ERROR   =  200
 PANIC   =  300
 
 def LOG(subsystem, severity, summary, detail='', error=None, reraise=None):