def default_from_email():
 global _default_from_email
 if (_default_from_email is None):
  try:
   fqdn = socket.getfqdn()
  except IOError:
   fqdn = 'localhost'
  _default_from_email = ('hue@' + fqdn)
 return _default_from_email

def default_from_email ( ) : global _default_from_email if ( _default_from_email is None ) : try : fqdn = socket . getfqdn ( ) except IOError : fqdn = 'localhost' _default_from_email = ( 'hue@' + fqdn ) return _default_from_email
email for hue@<host-fqdn> .