From 34a494713c085926d023f8e8f9cf6f0c40bab660 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 14 Mar 2011 14:21:28 -0400 Subject: [PATCH] Documented some changes in config handling. --- CHANGES | 1 + flask/config.py | 3 +++ 2 files changed, 4 insertions(+) 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')