diff MoinMoin/wikiutil.py @ 3857:ee74cf49c1ca

wikiutil: fix indentation
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Jul 2008 23:23:27 +0200
parents e676cbf8b1e3
children 5079d2246367 85cd05b8af42
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Mon Jul 14 22:44:33 2008 +0200
+++ b/MoinMoin/wikiutil.py	Mon Jul 14 23:23:27 2008 +0200
@@ -1149,11 +1149,11 @@
         except AttributeError:
             raise PluginAttributeError
     else:
-       # module now has the toplevel module of <moduleName> (see __import__ docs!)
-       components = moduleName.split('.')
-       for comp in components[1:]:
-           module = getattr(module, comp)
-       return module
+        # module now has the toplevel module of <moduleName> (see __import__ docs!)
+        components = moduleName.split('.')
+        for comp in components[1:]:
+            module = getattr(module, comp)
+        return module
 
 
 def builtinPlugins(kind):