summaryrefslogtreecommitdiff
path: root/scripts/IceGridUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/IceGridUtil.py')
-rw-r--r--scripts/IceGridUtil.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/IceGridUtil.py b/scripts/IceGridUtil.py
index 85e3a23eed0..2e9ec2b8129 100644
--- a/scripts/IceGridUtil.py
+++ b/scripts/IceGridUtil.py
@@ -76,7 +76,10 @@ class IceGridNode(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- shutil.rmtree(self.dbdir)
+ try:
+ shutil.rmtree(self.dbdir)
+ except:
+ pass
def getProps(self, current):
props = {
@@ -127,7 +130,10 @@ class IceGridRegistry(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- shutil.rmtree(self.dbdir)
+ try:
+ shutil.rmtree(self.dbdir)
+ except:
+ pass
def getProps(self, current):
# NOTE: we use the loopback interface for multicast with IPv6 to prevent failures