示例#1
0
 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']
示例#2
0
 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']
示例#3
0
 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", []))