mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 05:43:26 +00:00
ipareplica: Drop debugging remain show_obj
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user