def get_value_or_default(self, name):
        """Return the value of a field or the default value if it is undefined
        """
        try:
            value = self.values[name]
            return value if value is not empty else self.get_default(name)
        except __HOLE__:
            pass
dataset/ETHPy150Open edgewall/trac/trac/ticket/model.py/Ticket.get_value_or_default