From: Tomas Babej Date: Sun, 9 Aug 2015 00:21:53 +0000 (+0200) Subject: TaskWarrior: Fix incorrect references in format_depends X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/d850c6c05a3ae1e09a597b03d6459b594e0958da?ds=inline TaskWarrior: Fix incorrect references in format_depends --- 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(