ipareplica: Drop debugging remain show_obj

This commit is contained in:
Thomas Woerner
2018-07-09 13:00:36 +02:00
parent 4784be9be8
commit c0eff23da0
2 changed files with 0 additions and 17 deletions

View File

@@ -162,20 +162,6 @@ class AnsibleModuleLog():
# self.module.debug(msg)
self.module.warn(msg)
def show_obj(obj):
s="%s = {" % obj.__class__
for key in dir(obj):
#if key in [ "__class__", "__dict__" ]:
# continue
if key.startswith("--") and key.endswith("--"):
continue
if not hasattr(obj, key):
continue
value = getattr(obj, key)
if callable(value):
continue
s += " '%s': %s," % (key, repr(value))
logger.info(s+" }")
class installer_obj(object):
def __init__(self):
@@ -310,8 +296,6 @@ def gen_ReplicaConfig():
config.basedn = api.env.basedn
#config.subject_base = options.subject_base
#show_obj(config)
return config

View File

@@ -318,7 +318,6 @@ def main():
ca_file=cafile,
promote=promote,
pkcs12_info=dirsrv_pkcs12_info)
#show_obj(ds)
ansible_log.debug("-- INSTALL DNS RECORDS --")
# Always try to install DNS records