Commit 92ff23c4 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Strip raw todo lines.

parent 6789ac3a
......@@ -18,8 +18,8 @@ class Todo(object):
fields = {}
def __init__(self, p_src):
self.src = p_src
self.fields = TodoParser.parse_line(p_src)
self.src = p_src.strip()
self.fields = TodoParser.parse_line(self.src)
def tag_value(self, p_key):
"""
......
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