bbf7f8da61d3

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 03 Nov 2016 20:40:20 +0000
parents ddd4a3af16d7 (current diff) f6b4283ab1f9 (diff)
children 655800c5080d
branches/tags (none)
files t.py

Changes

--- a/t.py	Sun Oct 09 16:37:22 2016 +0000
+++ b/t.py	Thu Nov 03 20:40:20 2016 +0000
@@ -193,6 +193,7 @@
             text = re.sub(find, repl, task['text'])
 
         task['text'] = text
+        task['id'] = _hash(text)
 
     def finish_task(self, prefix):
         """Mark the task with the given prefix as finished.