# HG changeset patch # User sealion # Date 1317161012 -14400 # Node ID f6b4283ab1f98a67fc9a86aa702b751c3153a5e7 # Parent 6311beda08365a657bccc1f2d29497db30cebf4c Rehash tasks after editing. diff -r 6311beda0836 -r f6b4283ab1f9 t.py --- a/t.py Tue Sep 20 18:52:47 2011 -0400 +++ b/t.py Wed Sep 28 02:03:32 2011 +0400 @@ -183,6 +183,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.