Commit 049fc7d5 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Actually add the id tag after finding a suitable value.

parent 9ca7dc93
......@@ -170,6 +170,7 @@ class TodoList(object):
dep_id = from_todo.tag_value('id')
else:
dep_id = find_next_id()
from_todo.set_tag('id', dep_id)
to_todo.add_tag('p', dep_id)
self._depgraph.add_edge(p_number1, p_number2, int(dep_id))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment