summaryrefslogtreecommitdiff
path: root/scripts/IceGridUtil.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-23 16:36:38 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-03-23 16:36:38 +0100
commit0bb79669b6141cf2dcb8d64dcf87e198dad6ae50 (patch)
tree96eb3faee3133f704cfd164c07e021e2df9093b1 /scripts/IceGridUtil.py
parentFix for ICE-7125 - Added support for Ice.ClassGraphDepthMax (diff)
downloadice-0bb79669b6141cf2dcb8d64dcf87e198dad6ae50.tar.bz2
ice-0bb79669b6141cf2dcb8d64dcf87e198dad6ae50.tar.xz
ice-0bb79669b6141cf2dcb8d64dcf87e198dad6ae50.zip
Fixed ICE-7688 - IceGrid db directories not removed
Diffstat (limited to 'scripts/IceGridUtil.py')
-rw-r--r--scripts/IceGridUtil.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/IceGridUtil.py b/scripts/IceGridUtil.py
index 296d92a8e56..8bbe1b2e371 100644
--- a/scripts/IceGridUtil.py
+++ b/scripts/IceGridUtil.py
@@ -76,8 +76,7 @@ class IceGridNode(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- if success:
- shutil.rmtree(self.dbdir)
+ shutil.rmtree(self.dbdir)
def getProps(self, current):
props = {
@@ -128,8 +127,7 @@ class IceGridRegistry(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- if success:
- shutil.rmtree(self.dbdir)
+ shutil.rmtree(self.dbdir)
def getProps(self, current):
# NOTE: we use the loopback interface for multicast with IPv6 to prevent failures