aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/environment.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-27 12:02:33 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-27 12:02:33 +0200
commitf5d0c4d77058099fdd48a161e05c83676b119c2c (patch)
tree65f119c5cf4622a4af6fe2b118682724d5358bd6 /resources/tools/presentation/environment.py
parent09b5d7df5081bddc9c5257575e7d79038f37f734 (diff)
Report: delete tmp dir
Change-Id: I6ab1eefa9a53419d47fda829c365ce9fab7db3c3 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/environment.py')
-rw-r--r--resources/tools/presentation/environment.py5
1 files changed, 3 insertions, 2 deletions
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))