From: Tomas Babej Date: Fri, 2 Jan 2015 11:57:34 +0000 (+0100) Subject: Task: Update _original_data with data dict too when creating Task object X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/d409220d5abb52c0bb0022bf8b24728636a96a5b?hp=91cbf45a7ef63662a9186103d49c88a2bee9b84c Task: Update _original_data with data dict too when creating Task object --- diff --git a/tasklib/task.py b/tasklib/task.py index cb38c4e..d9b2678 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -130,6 +130,7 @@ class Task(TaskResource): # We keep data for backwards compatibility # TODO: Should we keep this using unserialized access to _data dict? self._data.update(data) + self._original_data.update(data) def __unicode__(self): return self['description']