'accept 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
    if self.tradehandler.accept(self.caller):
        caller.msg((self.str_caller % 'You    |gaccept|n    the    deal.    |gDeal    is    made    and    goods    changed    hands.|n'))
        self.msg_other(caller, ((self.str_other % '%s    |gaccepts|n    the    deal.    |gDeal    is    made    and    goods    changed    hands.|n') % caller.key))
    else:
        caller.msg(((self.str_caller % 'You    |Gaccept|n    the    offer.    %s    must    now    also    accept.') % self.other.key))
        self.msg_other(caller, ((self.str_other % '%s    |Gaccepts|n    the    offer.    You    must    now    also    accept.') % caller.key))
