From d850c6c05a3ae1e09a597b03d6459b594e0958da Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 9 Aug 2015 02:21:53 +0200 Subject: [PATCH] TaskWarrior: Fix incorrect references in format_depends --- tasklib/backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasklib/backends.py b/tasklib/backends.py index 6bba35d..dfef0a8 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -186,8 +186,8 @@ class TaskWarrior(object): old_dependencies = task._original_data.get('depends', set()) - added = self['depends'] - old_dependencies - removed = old_dependencies - self['depends'] + added = task['depends'] - old_dependencies + removed = old_dependencies - task['depends'] # Removed dependencies need to be prefixed with '-' return 'depends:' + ','.join( -- 2.39.5