'decline the offer'

def func(self):

    caller = self.caller
    if (not self.trade_started):
        caller.msg('Wait    until    the    other    party    has    accepted    to    trade    with    you.')
        return
    (offer_a, offer_b) = self.tradehandler.list()
    if ((not offer_a) or (not offer_b)):
        caller.msg('No    offers    have    been    made    yet,    so    there    is    nothing    to    decline.')
        return
    if self.tradehandler.decline(self.caller):
        caller.msg((self.str_caller % 'You    change    your    mind,    |Rdeclining|n    the    current    offer.'))
        self.msg_other(caller, ((self.str_other % '%s    changes    their    mind,    |Rdeclining|n    the    current    offer.') % caller.key))
    else:
        caller.msg((self.str_caller % 'You    |Rdecline|n    the    current    offer.'))
        self.msg_other(caller, ((self.str_other % '%s    declines    the    current    offer.') % caller.key))
