From fef1a6524752c18e63a33bda02d823cbe5de2519 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 27 Sep 2017 10:37:42 +0200 Subject: [PATCH] Fix ListOrValue.to_doc signature --- qutebrowser/config/configtypes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index c9b177d3e..bc5db6d94 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -524,17 +524,17 @@ class ListOrValue(BaseType): else: return self.valtype.to_str(value) - def to_doc(self, value): + def to_doc(self, value, indent=0): if value is None: return 'empty' if isinstance(value, list): if len(value) == 1: - return self.valtype.to_doc(value[0]) + return self.valtype.to_doc(value[0], indent) else: - return self.listtype.to_doc(value) + return self.listtype.to_doc(value, indent) else: - return self.valtype.to_doc(value) + return self.valtype.to_doc(value, indent) class FlagList(List):