# HG changeset patch # User Peter Arrenbrecht # Date 1242307476 -7200 # Node ID 4b798b100c32f6d1c26b02b2ca45ef87f9806833 # Parent dbc28d362e79a5afe14747761d82c1471ad980f3 indentation cleanup diff -r dbc28d362e79 -r 4b798b100c32 mercurial/hgweb/hgwebdir_mod.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() diff -r dbc28d362e79 -r 4b798b100c32 mercurial/templatefilters.py --- 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,