def customdata(self, lookup, default=None):
    """
    Args:
      lookup: the custom data file
      default: the optional value to return if lookup failed; returns None if not set
    Returns:
      The custom data returned from the file 'lookup' or default/None if no match found
    """
    try:
      if lookup in EFConfig.CUSTOM_DATA:
        return EFConfig.CUSTOM_DATA[lookup]
      else:
        return default
    except AttributeError:
      return default
def customdata ( self , lookup , default = None ) : try : if lookup in EFConfig . CUSTOM_DATA : return EFConfig . CUSTOM_DATA [ lookup ] else : return default except AttributeError : return default
Args:
      lookup: the custom data file
      default: the optional value to return if lookup failed; returns None if not set
    Returns:
      The custom data returned from the file 'lookup' or default/None if no match found