def getProfileDescription(profile):
 try:
  if (not isinstance(profile, ImageCmsProfile)):
   profile = ImageCmsProfile(profile)
  return (profile.profile.product_description + '\n')
 except (AttributeError, IOError, TypeError, ValueError) as v:
  raise PyCMSError(v)

def getProfileDescription ( profile ) : try : if ( not isinstance ( profile , ImageCmsProfile ) ) : profile = ImageCmsProfile ( profile ) return ( profile . profile . product_description + '\n' ) except ( AttributeError , IOError , TypeError , ValueError ) as v : raise PyCMSError ( v )
gets the description for the given profile .