X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/73b53d933f2285aaa2ecf1672be44eabf2979316..bee8b11c89922132fde1fab7a297856518caabd5:/tasklib/backends.py diff --git a/tasklib/backends.py b/tasklib/backends.py index 6bba35d..825db82 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( @@ -217,6 +217,8 @@ class TaskWarrior(object): "datetime, its type is not supported: {}" .format(type(value))) + return localized + @property def filter_class(self): return TaskWarriorFilter