X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fenvironment.py;h=1a1c3db03228ee46af5c0b923e455339c62e26e3;hb=c71b538b882cfdf8c5a940b8183a6f75a0915e42;hp=05376e0e095ef48dc21b45be128fbc859ca5d5d0;hpb=eecad36d7d2275fa47fbcab40dbcf56108ab0a51;p=csit.git diff --git a/resources/tools/presentation/environment.py b/resources/tools/presentation/environment.py index 05376e0e09..1a1c3db032 100644 --- a/resources/tools/presentation/environment.py +++ b/resources/tools/presentation/environment.py @@ -148,8 +148,9 @@ def clean_environment(env): try: shutil.rmtree(dir_to_remove) except OSError: - raise PresentationError("Cannot remove the directory '{}'". - format(dir_to_remove)) + pass + # raise PresentationError("Cannot remove the directory '{}'". + # format(dir_to_remove)) else: logging.warning("The directory '{}' does not exist.". format(dir_to_remove))