Skip to content
Snippets Groups Projects
Commit c0eff23d authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipareplica: Drop debugging remain show_obj

parent 4784be9b
No related branches found
No related tags found
No related merge requests found
...@@ -162,20 +162,6 @@ class AnsibleModuleLog(): ...@@ -162,20 +162,6 @@ class AnsibleModuleLog():
# self.module.debug(msg) # self.module.debug(msg)
self.module.warn(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): class installer_obj(object):
def __init__(self): def __init__(self):
...@@ -310,8 +296,6 @@ def gen_ReplicaConfig(): ...@@ -310,8 +296,6 @@ def gen_ReplicaConfig():
config.basedn = api.env.basedn config.basedn = api.env.basedn
#config.subject_base = options.subject_base #config.subject_base = options.subject_base
#show_obj(config)
return config return config
......
...@@ -318,7 +318,6 @@ def main(): ...@@ -318,7 +318,6 @@ def main():
ca_file=cafile, ca_file=cafile,
promote=promote, promote=promote,
pkcs12_info=dirsrv_pkcs12_info) pkcs12_info=dirsrv_pkcs12_info)
#show_obj(ds)
ansible_log.debug("-- INSTALL DNS RECORDS --") ansible_log.debug("-- INSTALL DNS RECORDS --")
# Always try to install DNS records # Always try to install DNS records
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment