From: Tomas Babej Date: Sat, 3 Jan 2015 20:40:21 +0000 (+0100) Subject: Task: Fix wrong error message X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/6d756a70ec4367515bf0ec9eed7ef5b45418727d?ds=inline;hp=-c Task: Fix wrong error message --- 6d756a70ec4367515bf0ec9eed7ef5b45418727d diff --git a/tasklib/task.py b/tasklib/task.py index 004ed90..01a0bcc 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -359,7 +359,7 @@ class Task(TaskResource): def remove_annotation(self, annotation): if not self.saved: - raise Task.NotSaved("Task needs to be saved to add annotation") + raise Task.NotSaved("Task needs to be saved to remove annotation") if isinstance(annotation, TaskAnnotation): annotation = annotation['description']