From 48dea7bc1e7e94eb4fc51f0278bac76e005e78e2 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 16 Jul 2015 23:00:06 +0200 Subject: [PATCH 1/1] TaskWarrior: Add default value off for json.array --- tasklib/task.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasklib/task.py b/tasklib/task.py index 4d07fbf..708c9c7 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -919,6 +919,10 @@ class TaskWarrior(object): 'confirmation': 'no', 'dependency.confirmation': 'no', # See TW-1483 or taskrc man page 'recurrence.confirmation': 'no', # Necessary for modifying R tasks + + # Defaults to on since 2.4.5, we expect off during parsing + 'json.array': 'off', + # 2.4.3 onwards supports 0 as infite bulk, otherwise set just # arbitrary big number which is likely to be large enough 'bulk': 0 if self.version >= VERSION_2_4_3 else 100000, -- 2.39.5