Browse files

The file list for each parsed directory is sorted prior to processing…

… to prevent parse order differences when parsing the same files in different environments.
  • Loading branch information...
1 parent 9e4e128 commit 952dc86117d9fc33db67ac765a0c65f0d9c52855 Adam Moore committed Nov 18, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −1 bin/yuidoc_parse.py
  2. +0 −1 test/apidocs.sh
View
4 bin/yuidoc_parse.py
@@ -63,7 +63,9 @@ def parseFile(path, file):
def parseDir(path):
subdirs = []
dircontent = ""
- for i in os.listdir(path):
+ dirfiles = os.listdir(path)
+ dirfiles.sort()
+ for i in dirfiles:
# Checking for directories that start with a '.'
# Windows doesn't hide these directories by default
if not i.startswith('.'):
View
1 test/apidocs.sh
@@ -54,7 +54,6 @@ parser_in="$src/yui \
$src/overlay \
$src/plugin \
$src/profiler \
- $src/queue \
$src/slider \
$src/stylesheet \
$src/substitute \

0 comments on commit 952dc86

Please sign in to comment.