diff MoinMoin/server/__init__.py @ 988:65dc979761f0

whitespace only and style changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 18 Jul 2006 12:55:53 +0200
parents 77665d8e2254
children f37b49b6313d
line wrap: on
line diff
--- a/MoinMoin/server/__init__.py	Tue Jul 18 11:48:53 2006 +0200
+++ b/MoinMoin/server/__init__.py	Tue Jul 18 12:55:53 2006 +0200
@@ -8,7 +8,6 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-# Imports
 import os
 
 
@@ -46,13 +45,13 @@
     This class does all error checking needed for config values, and will
     raise a RuntimeError on any fatal error.
     """
-        
+
     def __init__(self):
         """ Validate and post process configuration values
 
         Will raise RuntimeError for any wrong config value.
         """
-        
+
         # Check that docs path is accessible
         self.docs = os.path.normpath(os.path.abspath(self.docs))
         if not os.access(self.docs, os.F_OK | os.R_OK | os.X_OK):
@@ -63,7 +62,7 @@
         if os.name == 'nt':
             self.uid = self.gid = 0
             return
-        
+
         # If serving privileged port, we must run as root to bind the port.
         # we will give up root privileges later
         if self.port < 1024 and os.getuid() != 0:
@@ -86,4 +85,4 @@
             except KeyError:
                 raise RuntimeError("Unknown group: '%s', check group setting" %
                                    self.group)
-            
+