def absolute(self):
        """
        The FQDN as a string in absolute form
        """
        if not self.is_valid:
            raise ValueError('invalid FQDN `{0}`'.format(self.fqdn))

        if self.is_valid_absolute:
            return self.fqdn

        return '{0}.'.format(self.fqdn)
def absolute ( self ) : if not self . is_valid : raise ValueError ( 'invalid FQDN `{0}`' . format ( self . fqdn ) ) if self . is_valid_absolute : return self . fqdn return '{0}.' . format ( self . fqdn )
The FQDN as a string in absolute form