X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/a2447bf8728f9cd3441628e7f59cbd8828989cba..ce32ee3509425dd242eed4db4706f2c2e63ec964:/tasklib/lazy.py?ds=sidebyside diff --git a/tasklib/lazy.py b/tasklib/lazy.py index aa2c065..a1b63ef 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -42,6 +42,12 @@ class LazyUUIDTask(object): def __repr__(self): return "LazyUUIDTask: {0}".format(self._uuid) + def __copy__(self): + return LazyUUIDTask(self._tw, self._uuid) + + def __deepcopy__(self, memo): + return LazyUUIDTask(self._tw, self._uuid) + @property def saved(self): """