# HG changeset patch # User Ludovic Chabant # Date 1511763693 28800 # Node ID 501bd4ab7e069d330a9fff0fa3dd655dd6f13cb3 # Parent cd0345e4001ed494c47ac5bb2a59c1f60419e6cb internal: Remove unused parameter. diff -r cd0345e4001e -r 501bd4ab7e06 piecrust/data/base.py --- a/piecrust/data/base.py Sun Nov 26 22:21:10 2017 -0800 +++ b/piecrust/data/base.py Sun Nov 26 22:21:33 2017 -0800 @@ -1,3 +1,4 @@ +import time import collections.abc @@ -5,10 +6,9 @@ """ Provides a dictionary-like object that's really the aggregation of multiple dictionary-like objects. """ - def __init__(self, dicts, path='', *, stats=None): + def __init__(self, dicts, path=''): self._dicts = dicts self._path = path - self._stats = stats def __getattr__(self, name): try: diff -r cd0345e4001e -r 501bd4ab7e06 piecrust/data/builder.py --- a/piecrust/data/builder.py Sun Nov 26 22:21:10 2017 -0800 +++ b/piecrust/data/builder.py Sun Nov 26 22:21:33 2017 -0800 @@ -68,8 +68,7 @@ # Put the site data first so that `MergedMapping` doesn't load stuff # for nothing just to find a value that was in the YAML config all # along. - data = MergedMapping([site_data, data, providers_data], - stats=app.env.stats) + data = MergedMapping([site_data, data, providers_data]) # Do this at the end because we want all the data to be ready to be # displayed in the debugger window.