iro/model/status.py
author Sandro Knauß <knauss@netzguerilla.net>
Mon, 05 Mar 2012 23:51:56 +0100
branchdevel
changeset 217 d755b2e0cc0b
parent 215 5bacdb7e94d1
child 263 52284710c0b4
permissions -rw-r--r--
task now saves own status

class Status:
    '''status for one recipient'''
    def __init__(self, provider, route, costs=0.0, count=0, exID=None):
        self.provider = provider
        self.route = route

        self.costs = costs
        self.count = count
        self.exID = exID