From: Tomas Babej Date: Thu, 24 Dec 2015 14:10:09 +0000 (+0100) Subject: LazyUUIDTask: Implement 'saved' property X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/1ff124d72715aef2e7046a9845647cc6482b0427?ds=inline LazyUUIDTask: Implement 'saved' property --- diff --git a/tasklib/lazy.py b/tasklib/lazy.py index 260acdf..e85a204 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -39,6 +39,13 @@ class LazyUUIDTask(object): def __hash__(self): return self['uuid'].__hash__() + @property + def saved(self): + """ + Implementation of the 'saved' property. Always returns True. + """ + return True + def replace(self): """ Performs conversion to the regular Task object, referenced by the