indentation cleanup
authorPeter Arrenbrecht <peter.arrenbrecht@gmail.com>
Thu, 14 May 2009 15:24:36 +0200
changeset 8389 4b798b100c32
parent 8388 dbc28d362e79
child 8390 beae42f3d93b
indentation cleanup
mercurial/hgweb/hgwebdir_mod.py
mercurial/templatefilters.py
--- a/mercurial/hgweb/hgwebdir_mod.py	Thu May 14 17:28:26 2009 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu May 14 15:24:36 2009 +0200
@@ -78,12 +78,12 @@
                 self.repos.append((name, path))
 
         for prefix, root in self.ui.configitems('collections'):
-             for path in util.walkrepos(root, followsym=True):
-                 repo = os.path.normpath(path)
-                 name = repo
-                 if name.startswith(prefix):
-                     name = name[len(prefix):]
-                 self.repos.append((name.lstrip(os.sep), repo))
+            for path in util.walkrepos(root, followsym=True):
+                repo = os.path.normpath(path)
+                name = repo
+                if name.startswith(prefix):
+                    name = name[len(prefix):]
+                self.repos.append((name.lstrip(os.sep), repo))
 
         self.repos.sort()
         self.lastrefresh = time.time()
--- a/mercurial/templatefilters.py	Thu May 14 17:28:26 2009 +0200
+++ b/mercurial/templatefilters.py	Thu May 14 15:24:36 2009 +0200
@@ -172,7 +172,7 @@
         return dir
 
 def nonempty(str):
-  return str or "(none)"
+    return str or "(none)"
 
 filters = {
     "addbreaks": nl2br,