

def __init__(self):
    if (self.__wsadminObjects is None):
        rootFrame = sys._getframe()
        while rootFrame.f_back:
            rootFrame = rootFrame.f_back
        values = []
        for v in ('AdminApp', 'AdminConfig', 'AdminControl', 'AdminTask', 'Help'):
            try:
                values.append(rootFrame.f_globals[v])
            except:
                logger.warning('unable to retrieve wsadmin object: %s', v)
                values.append(None)
        self.__wsadminObjects = values

dataset/ETHPy150Open WDR/WDR/lib/common/wdr/__init__.py WsadminObjects.__init__/original