Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ignore for CVS directory

  • Loading branch information...
commit 5ec42da926965fdfbb0bd86aca730bbb5c564fb5 1 parent ee7fdc1
@davglass davglass authored
Showing with 7 additions and 5 deletions.
  1. +7 −5 bin/yuidoc_parse.py
View
12 bin/yuidoc_parse.py
@@ -59,11 +59,13 @@ def parseDir(path):
# Checking for directories that start with a '.'
# Windows doesn't hide these directories by default
if not i.startswith('.'):
- fullname = os.path.join(path, i)
- if os.path.isdir(fullname):
- subdirs.append(fullname)
- elif i.lower().endswith(self.extension):
- dircontent += parseFile(path, i)
+ # Checking for known bad directory: CVS
+ if i != 'CVS':
+ fullname = os.path.join(path, i)
+ if os.path.isdir(fullname):
+ subdirs.append(fullname)
+ elif i.lower().endswith(self.extension):
+ dircontent += parseFile(path, i)
for i in subdirs:
dircontent += parseDir(i)
Please sign in to comment.
Something went wrong with that request. Please try again.