|
|
|
@ -32,14 +32,14 @@ def build(after,starts): |
|
|
|
for path in starts: |
|
|
|
for root,dirs,files in os.walk(path,topdown=True): |
|
|
|
try: |
|
|
|
ignore = any('__ignore__' in files) |
|
|
|
ignore = '__ignore__' in files |
|
|
|
if ignore: |
|
|
|
del dirs |
|
|
|
dirs[:] = [] |
|
|
|
else: |
|
|
|
for file in files: |
|
|
|
yield os.path.join(root,file) |
|
|
|
dirs[:] = list(filter(lambda p: osp.getmtime(osp.join(root,p)) > after,dirs)) |
|
|
|
except: |
|
|
|
except Exception as e: |
|
|
|
print('Error',root,sep= ': ') |
|
|
|
|
|
|
|
def _update(ext,starts,after,do_update_mtimes = False): |
|
|
|
|