iro/model/status.py
branchdevel
changeset 156 a4ad521b127b
child 161 072ee139eb67
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/iro/model/status.py	Mon Feb 13 22:18:06 2012 +0100
@@ -0,0 +1,11 @@
+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
+