changeset 1587:594c57bde21e

cosmetic changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 26 Sep 2006 22:00:57 +0200
parents cae5575b07fa
children 8a7643aae797 56bf38d79ba8
files MoinMoin/error.py
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/error.py	Mon Sep 25 22:36:07 2006 +0200
+++ b/MoinMoin/error.py	Tue Sep 26 22:00:57 2006 +0200
@@ -1,12 +1,14 @@
 # -*- coding: iso-8859-1 -*-
 """ MoinMoin errors
 
-Supply Error class and sub classes used to raise various errors
+    Supply Error class and sub classes used to raise various errors
 
-@copyright: 2004, 2005 by Nir Soffer <nirs@freeshell.org>
-@license: GNU GPL, see COPYING for details.
+    @copyright: 2004, 2005 by Nir Soffer <nirs@freeshell.org>
+    @license: GNU GPL, see COPYING for details.
 """
+
 import sys
+
 from MoinMoin import config
 
 class Error(Exception):
@@ -56,7 +58,7 @@
 
 
 class CompositeError(Error):
-    ''' Base class for exceptions containing an exception
+    """ Base class for exceptions containing an exception
 
     Do not use this class but its more specific sub classes.
 
@@ -66,7 +68,7 @@
     Example::
 
         class InternalError(CompositeError):
-            """ Raise for internal errors """
+            ''' Raise for internal errors '''
         
         try:
             # code that might fail...
@@ -75,7 +77,7 @@
             
     When showing a traceback, both InternalError traceback and
     HairyLowLevelError traceback are available.
-    '''
+    """
 
     def __init__(self, message):
         """ Save system exception info before this exception is raised """