From d409220d5abb52c0bb0022bf8b24728636a96a5b Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Fri, 2 Jan 2015 12:57:34 +0100 Subject: [PATCH] Task: Update _original_data with data dict too when creating Task object --- tasklib/task.py | 1 + 1 file changed, 1 insertion(+) 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'] -- 2.39.5