changeset 3857:ee74cf49c1ca

wikiutil: fix indentation
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Jul 2008 23:23:27 +0200
parents 6aeb3f0af92c
children 5079d2246367 4082eab1fe16
files MoinMoin/wikiutil.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
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):