From aef1a2bac9bbf8615be55fffa82004c731aec005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 22 Mar 2015 03:19:42 +0100 Subject: [PATCH] Use explicit default keyword for config issue4662 review8041002 --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index b9f06c8a40..9d677dbaa2 100644 --- a/move.py +++ b/move.py @@ -1904,7 +1904,7 @@ class Reconcile(Wizard): def _default_lines(self): 'Return the larger list of lines which can be reconciled' currency = self.show.account.company.currency - chunk = config.getint('account', 'reconciliation_chunk', 10) + chunk = config.getint('account', 'reconciliation_chunk', default=10) # Combination is exponential so it must be limited to small number default = [] for lines in grouped_slice(self._all_lines(), chunk):