def format_raw(self, netenv, indent="", embedded=True,
                   indirect_attrs=True):
        details = [indent + "{0:c}: {0.name}".format(netenv)]
        details.append(self.redirect_raw(netenv.dns_environment, indent + "  "))
        if netenv.location:
            details.append(self.redirect_raw(netenv.location, indent + "  "))
        if netenv.comments:
            details.append(indent + "  Comments: %s" % netenv.comments)
        return "\n".join(details)