Skip to content
Myr

Improved botched docstring wording for silent failure.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Aaron Kavlie · committed by Armin Ronacher · parent dd75cc9 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/config.py+2 added-2 removed
87 unmodified lines
8889 app.config.from_pyfile(os.environ['YOURAPPLICATION_SETTINGS'])9091 :param variable_name: name of the environment variable92 :param silent: set to `True` if you want silent to fail for missing92 :param silent: set to `True` if you want silent failure for missing93 files.94 :return: bool. `True` if able to load config, `False` otherwise.95 """96 rv = os.environ.get(variable_name)
15 unmodified lines
112113 :param filename: the filename of the config. This can either be an114 absolute filename or a filename relative to the115 root path.116 :param silent: set to `True` if you want silent to fail for missing116 :param silent: set to `True` if you want silent failure for missing117 files.118119 .. versionadded:: 0.7120 `silent` parameter.
45 unmodified lines