mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 22:03:18 +00:00
module_utils/ansible_ipa_client: Deactivate __getattr__ in installer_obj
The __getattr__ method in installer_obj was used for debugging to make sure that all needed settings in the installer object have been set.
This commit is contained in:
@@ -45,11 +45,11 @@ class installer_obj(object):
|
||||
# " <-- Accessing installer.%s (%s)" % (attr, repr(value)))
|
||||
# return value
|
||||
|
||||
def __getattr__(self, attr):
|
||||
#logger.info(" --> ADDING missing installer.%s" % attr)
|
||||
self.logger.warn(" --> ADDING missing installer.%s" % attr)
|
||||
setattr(self, attr, None)
|
||||
return getattr(self, attr)
|
||||
#def __getattr__(self, attr):
|
||||
# #logger.info(" --> ADDING missing installer.%s" % attr)
|
||||
# self.logger.warn(" --> ADDING missing installer.%s" % attr)
|
||||
# setattr(self, attr, None)
|
||||
# return getattr(self, attr)
|
||||
|
||||
#def __setattr__(self, attr, value):
|
||||
# logger.debug(" --> Setting installer.%s to %s" % (attr, repr(value)))
|
||||
|
||||
Reference in New Issue
Block a user