iro/model/status.py
author Sandro Knauß <knauss@netzguerilla.net>
Mon, 13 Feb 2012 22:18:06 +0100
branchdevel
changeset 156 a4ad521b127b
child 161 072ee139eb67
permissions -rw-r--r--
moving Status to own file

class Status:
    '''status for one recipient'''
    todo = 1
    good = 2
    error = 3
    
    def __init__(self, offer, status, errtext=None):
        self.status = status
        self.offer = offer             #the offer over that this job was done
        self.errtext = errtext         #the error text