Commit 040534b6 authored by MinchinWeb's avatar MinchinWeb

Fix PEP8 E125

continuation line with same indent as next logical line
parent e880112e
...@@ -145,7 +145,7 @@ class TodoBase(object): ...@@ -145,7 +145,7 @@ class TodoBase(object):
""" """
if not self.is_completed() and \ if not self.is_completed() and \
(p_priority == None or is_valid_priority(p_priority)): (p_priority == None or is_valid_priority(p_priority)):
self.fields['priority'] = p_priority self.fields['priority'] = p_priority
......
...@@ -66,7 +66,7 @@ class TodoList(TodoListBase): ...@@ -66,7 +66,7 @@ class TodoList(TodoListBase):
# connect all tasks we have in memory so far that refer to this # connect all tasks we have in memory so far that refer to this
# task # task
for dep in \ for dep in \
[dep for dep in self._todos if dep.has_tag('p', dep_id)]: [dep for dep in self._todos if dep.has_tag('p', dep_id)]:
self._depgraph.add_edge(hash(p_todo), hash(dep), dep_id) self._depgraph.add_edge(hash(p_todo), hash(dep), dep_id)
...@@ -148,7 +148,7 @@ class TodoList(TodoListBase): ...@@ -148,7 +148,7 @@ class TodoList(TodoListBase):
self.append(p_to_todo, "@{}".format(context)) self.append(p_to_todo, "@{}".format(context))
if p_from_todo != p_to_todo and not self._depgraph.has_edge( if p_from_todo != p_to_todo and not self._depgraph.has_edge(
hash(p_from_todo), hash(p_to_todo)): hash(p_from_todo), hash(p_to_todo)):
dep_id = None dep_id = None
if p_from_todo.has_tag('id'): if p_from_todo.has_tag('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