Пример #1
0
def initializeUserProfileManagerHandler(serviceInfo):
  global gUPDB
  try:
    gUPDB = UserProfileDB()
  except Exception as e:
    return S_ERROR("Can't initialize UserProfileDB: %s" % str(e))
  return S_OK()
Пример #2
0
 def initializeHandler(cls, serviceInfo):
     """ Handler initialization
 """
     cls.upDB = UserProfileDB()
     return S_OK()