31 |
""" |
""" |
32 |
Returns all ".rst" files under path. Nonrecursive. |
Returns all ".rst" files under path. Nonrecursive. |
33 |
""" |
""" |
34 |
files = [f for f in os.listdir(mputils._slashify(path)) \ |
files = [f for f in os.listdir(_slashify(path)) \ |
35 |
if os.path.isfile(mputils._slashify(path)+f) and not f.startswith('.') |
if os.path.isfile(_slashify(path)+f) and not f.startswith('.') |
36 |
and '#' not in f and '~' not in f] |
and '#' not in f and '~' not in f] |
37 |
rstfiles = [f for f in files if f.endswith('.rst')] |
rstfiles = [f for f in files if f.endswith('.rst')] |
38 |
return rstfiles |
return rstfiles |