Author: johannes
Date: 2007-11-21 08:02:18 -0600 (Wed, 21 Nov 2007)
New Revision: 9824

Modified:
   trunk/gnue-common/src/apps/GImportLogger.py
Log:
Reindented


Modified: trunk/gnue-common/src/apps/GImportLogger.py
===================================================================
--- trunk/gnue-common/src/apps/GImportLogger.py 2007-11-21 14:00:58 UTC (rev 
9823)
+++ trunk/gnue-common/src/apps/GImportLogger.py 2007-11-21 14:02:18 UTC (rev 
9824)
@@ -23,24 +23,24 @@
 #
 """
 Importing this module causes all modules imported after this
-to be printed to stdout 
+to be printed to stdout
 """
 import os, ihooks, sys
 _import_indent = 0
 
 class MyHooks(ihooks.Hooks):
-  pass
+    pass
 
 class GImportLogger(ihooks.ModuleLoader):
 
-  def load_module(self, name, stuff):
-    global _import_indent
-    print "." * _import_indent + "Importing %s..." % name
-    _import_indent += 1
+    def load_module(self, name, stuff):
+        global _import_indent
+        print "." * _import_indent + "Importing %s..." % name
+        _import_indent += 1
 
-    module = ihooks.ModuleLoader.load_module(self, name, stuff)
+        module = ihooks.ModuleLoader.load_module(self, name, stuff)
 
-    _import_indent -= 1
-    return module
+        _import_indent -= 1
+        return module
 
 ihooks.ModuleImporter(GImportLogger(MyHooks())).install()



_______________________________________________
commit-gnue mailing list
commit-gnue@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to