Mercurial > piecrust2
diff piecrust/data/base.py @ 901:1d5f02778723
internal: PEP8
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 23 Jul 2017 08:22:03 -0700 |
parents | d446029c9478 |
children | 8adc27285d93 |
line wrap: on
line diff
--- a/piecrust/data/base.py Sun Jul 23 08:21:07 2017 -0700 +++ b/piecrust/data/base.py Sun Jul 23 08:22:03 2017 -0700 @@ -40,10 +40,10 @@ for val in values: if not isinstance(val, (dict, collections.abc.Mapping)): raise Exception( - "Template data for '%s' contains an incompatible mix " - "of data: %s" % ( - self._subp(name), - ', '.join([str(type(v)) for v in values]))) + "Template data for '%s' contains an incompatible mix " + "of data: %s" % ( + self._subp(name), + ', '.join([str(type(v)) for v in values]))) return MergedMapping(values, self._subp(name))