From 1d9833e372425e68597e30e2cb85da17e7d57dc1 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 13 Feb 2013 15:18:38 +0100 Subject: [PATCH] default False->None in options --- librarian/xmlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian/xmlutils.py b/librarian/xmlutils.py index 97a3039..340ee83 100644 --- a/librarian/xmlutils.py +++ b/librarian/xmlutils.py @@ -39,7 +39,7 @@ class Xmill(object): """ # Here we can see how a decision not to return the modified map # leads to a need for a hack. - return reduce(lambda a, b: a.update(b) or a, self._options, defaultdict(lambda: False)) + return reduce(lambda a, b: a.update(b) or a, self._options, defaultdict(lambda: None)) @options.setter def options(self, opts): -- 2.20.1