Permalink
Browse files

When dir listing is used projects are sorted alphabetically.

  • Loading branch information...
danfis committed Nov 2, 2010
1 parent c43ce95 commit ab9b9e963f116b211cfac797614ce110bcfd8978
Showing with 1 addition and 1 deletion.
  1. +1 −1 project_list.py
View
@@ -143,7 +143,7 @@ def __init__(self, req, dir, basepath = '/'):
def _projects(self, req, parent_dir, basepath):
projects = []
dirs = os.listdir(parent_dir)
dirs = sorted(os.listdir(parent_dir), key=str.lower)
for dir in dirs:
path = os.path.join(parent_dir, dir)
config = os.path.join(path, 'pitweb.py')

0 comments on commit ab9b9e9

Please sign in to comment.