skip examples with leading underscore

This commit is contained in:
rolux 2012-04-13 23:26:48 +02:00
parent 036d51e7b5
commit 84491f2122

View file

@ -152,7 +152,7 @@ def build_oxjs(downloads=False, geo=False):
['Geo', 'Image', 'Unicode'] ['Geo', 'Image', 'Unicode']
)), )),
'examples': filter( 'examples': filter(
lambda x: not re.search('^\.', x), lambda x: not re.search('^[\._]', x),
os.listdir(root_path + 'examples/') os.listdir(root_path + 'examples/')
), ),
'readme': map( 'readme': map(