'Delete a specific transaction from the database'

def delete_transaction(self, transaction_id):

    self.execute(u'DELETE    FROM    transactions    WHERE    trader_id    =    ?    AND    transaction_number    =    ?', (unicode(transaction_id.trader_id), unicode(transaction_id.transaction_number)))
    self.delete_payments(transaction_id)
