From: Radek Czajka Date: Wed, 13 Feb 2013 14:18:38 +0000 (+0100) Subject: default False->None in options X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/1d9833e372425e68597e30e2cb85da17e7d57dc1?ds=inline default False->None in options --- 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):