changeset 8389:4b798b100c32

indentation cleanup
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Thu, 14 May 2009 15:24:36 +0200
parents dbc28d362e79
children beae42f3d93b
files mercurial/hgweb/hgwebdir_mod.py mercurial/templatefilters.py
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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,