def list_attribute(self, crop, attr, value):
        if crop:
            if not isinstance(value, basestring):
                value = utils.to_str(value, force_string=True)
            value = utils.crop(value)
            value = utils.to_unicode(value)

        string = "\n %s = %s" % (attr, value)
        string = raw(string)
        return string
Formats a single attribute line.
dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdExamine.list_attribute