diff --git a/CHANGES b/CHANGES index 9127c126..18c1494e 100644 --- a/CHANGES +++ b/CHANGES @@ -36,6 +36,7 @@ Release date to be announced, codename to be selected - Use Last-Modified for static file sending instead of Date which was incorrectly introduced in 0.6. - Added `create_jinja_loader` to override the loader creation process. +- Implemented a silent flag for `config.from_pyfile`. Version 0.6.1 ------------- diff --git a/flask/config.py b/flask/config.py index 250a8774..920d4835 100644 --- a/flask/config.py +++ b/flask/config.py @@ -116,6 +116,9 @@ class Config(dict): root path. :param silent: set to `True` if you want silent to fail for missing files. + + .. versionadded:: 0.7 + `silent` parameter. """ filename = os.path.join(self.root_path, filename) d = imp.new_module('config')