Exclude .hg directory from scans, it can contain jars that were removed

This commit is contained in:
Ciaran Gultnieks 2012-03-06 19:54:37 +00:00
parent 2df8259408
commit b4fc2f5c80

View file

@ -950,6 +950,8 @@ def scan_source(build_dir, root_dir, thisbuild):
for r,d,f in os.walk(build_dir):
for curfile in f:
if r.find('/.hg/') == -1:
# Path (relative) to the file...
fp = os.path.join(r, curfile)