(self, key)
Get key-value pair from the CORP_SETUP tree.

    Args:
      key: String, key to look up

    Returns:
      value: String if single value, dictionary if plist.

    Raises:
      SysconfigError: On failure (see above).
Get key-value pair from the CORP_SETUP tree.
Get key - value pair from the CORP_SETUP tree .
def GetCorpSetupKey(self, key):
    """Get key-value pair from the CORP_SETUP tree.

    Args:
      key: String, key to look up

    Returns:
      value: String if single value, dictionary if plist.

    Raises:
      SysconfigError: On failure (see above).
    """
    long_key = '%s%s' % (CORP_SETUP, key)
    key = SCDynamicStoreCopyValue(self.store, long_key)
    if key is not None:
      return key
    else:
      logging.debug('Failed retrieving %s', long_key)
      raise SysconfigError('Failed retrieving %s' % long_key)
def GetCorpSetupKey ( self , key ) : long_key = '%s%s' % ( CORP_SETUP , key ) key = SCDynamicStoreCopyValue ( self . store , long_key ) if key is not None : return key else : logging . debug ( 'Failed retrieving %s' , long_key ) raise SysconfigError ( 'Failed retrieving %s' % long_key )