summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--func/minion/modules/certmastermod.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/func/minion/modules/certmastermod.py b/func/minion/modules/certmastermod.py
index c4641d0..41f093c 100644
--- a/func/minion/modules/certmastermod.py
+++ b/func/minion/modules/certmastermod.py
@@ -95,11 +95,11 @@ class CertMasterModule(func_module.FuncModule):
for p in peers:
certname = "%s.%s" % (p, cm.cfg.cert_extension)
certname = os.path.join(cm.cfg.peerroot, certname)
-# try:
- os.unlink(certname)
-# except OSError:
+ try:
+ os.unlink(certname)
+ except OSError:
# cert doesn't exist
-# pass
+ pass
return True
def copy_peer_cert(self, peer, certblob):