X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fenvironment.py;h=1a1c3db03228ee46af5c0b923e455339c62e26e3;hp=05376e0e095ef48dc21b45be128fbc859ca5d5d0;hb=f5d0c4d77058099fdd48a161e05c83676b119c2c;hpb=09b5d7df5081bddc9c5257575e7d79038f37f734 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))