r7305 - dumbhippo/trunk/firehose/firehose/jobs



Author: walters
Date: 2008-02-11 00:13:05 -0600 (Mon, 11 Feb 2008)
New Revision: 7305

Modified:
   dumbhippo/trunk/firehose/firehose/jobs/tasks.py
Log:
Fix property assignment.


Modified: dumbhippo/trunk/firehose/firehose/jobs/tasks.py
===================================================================
--- dumbhippo/trunk/firehose/firehose/jobs/tasks.py	2008-02-09 00:05:48 UTC (rev 7304)
+++ dumbhippo/trunk/firehose/firehose/jobs/tasks.py	2008-02-11 06:13:05 UTC (rev 7305)
@@ -11,13 +11,13 @@
         self._id = v
     id = property(lambda self: self._id, set_id)
     
-    def set_hash(self, v):
-        self._hash = v
-    prev_hash = property(lambda self: self._prev_hash, set_hash)
+    def set_prev_hash(self, v):
+        self._prev_hash = v
+    prev_hash = property(lambda self: self._prev_hash, set_prev_hash)
     
-    def set_timestamp(self, v):
-        self._timestamp = v        
-    prev_timestamp = property(lambda self: self._prev_timestamp, set_timestamp)
+    def set_prev_timestamp(self, v):
+        self._prev_timestamp = v        
+    prev_timestamp = property(lambda self: self._prev_timestamp, set_prev_timestamp)
         
     def __init__(self, keystr, prev_hash, prev_ts):
         super(TaskEntry, self).__init__()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]