def __init__(self): """ c'tor """ self._printFormattedDictList = _printFormattedDictList self.log = gLogger.getSubLogger(COMPONENT_NAME) self.section = COMPONENT_NAME self.pPrint = pprint.PrettyPrinter() # Global error dictionary self.errorDict = {} self.setup = gConfig.getValue('/DIRAC/Setup', 'Unknown') self.diracInfo = getCurrentVersion()['Value']
def __init__( self ): """ c'tor """ self._printFormattedDictList = _printFormattedDictList self.log = gLogger.getSubLogger( COMPONENT_NAME ) self.section = COMPONENT_NAME self.pPrint = pprint.PrettyPrinter() #Global error dictionary self.errorDict = {} self.setup = gConfig.getValue( '/DIRAC/Setup', 'Unknown' ) self.diracInfo = getCurrentVersion()['Value']
def __init__(self): """c'tor""" self._printFormattedDictList = _printFormattedDictList self.log = gLogger.getSubLogger(COMPONENT_NAME) self.section = COMPONENT_NAME self.pPrint = pprint.PrettyPrinter() # Global error dictionary self.errorDict = {} self.setup = gConfig.getValue("/DIRAC/Setup", "Unknown") self.diracInfo = getCurrentVersion()["Value"] self._siteSet = set(getSites().get("Value", []))