X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/0e325085d7cebbba5f301d472e83ce0ba58d1f15..ec0c30aa2bf8362b3acc23025586afd98276c0f8:/tasklib/lazy.py 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): """