safe clean.

This commit is contained in:
clinton-hall 2014-06-27 11:16:28 +09:30
commit cbc99fa0cf

View file

@ -585,6 +585,7 @@ def cleanDir(path, section, subsection):
logger.info( logger.info(
"Directory %s still contains %s unprocessed file(s), skipping ..." % (path, num_files), "Directory %s still contains %s unprocessed file(s), skipping ..." % (path, num_files),
'CLEANDIRS') 'CLEANDIRS')
return
logger.info("Directory %s has been processed, removing ..." % (path), 'CLEANDIRS') logger.info("Directory %s has been processed, removing ..." % (path), 'CLEANDIRS')
try: try: