#shutil.rmtree(finalPath)
os.makedirs(finalPath)
pathIsOk = True
- except:
+ except Exception:
logger.error(_("%s cannot be created.") % finalPath)
finalPath = ask_a_path()
if os.access(tmp_dir, os.F_OK):
try:
shutil.rmtree(tmp_dir)
- except:
+ except Exception:
logger.error(_("error removing TT_TMP_RESULT %s\n")
% tmp_dir)