From: Tomas Babej Date: Thu, 16 Jul 2015 21:00:06 +0000 (+0200) Subject: TaskWarrior: Add default value off for json.array X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/48dea7bc1e7e94eb4fc51f0278bac76e005e78e2?hp=6510676e47e993317aec9e0cc9c7bad21ccf6573 TaskWarrior: Add default value off for json.array --- 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,