From 252fcc58df50a2d70aaaaf90f119d7e76da78ce3 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 8 Jan 2015 04:09:30 +0100 Subject: [PATCH 1/1] Task: Remove spaces when dumping the Task JSON --- tasklib/task.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index c34a104..4dab528 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -460,7 +460,8 @@ class Task(TaskResource): Exports current data contained in the Task as JSON """ - return json.dumps(self._data) + # We need to remove spaces for TW-1504, use custom separators + return json.dumps(self._data, separators=(',',':')) class TaskFilter(SerializingObject): """ -- 2.39.5