Skip to content

Commit

Permalink
doc: update the note of 'ignore_missing' keyword option
Browse files Browse the repository at this point in the history
update the note of 'ignore_missing' keyword option to notice about it'll
be deprecated and remove in the future
  • Loading branch information
ssato committed May 25, 2018
1 parent 507b5c8 commit a75697f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion anyconfig/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ def _single_load(input_, ac_parser=None, ac_template=False,
inp = anyconfig.backends.inspect_input(input_, forced_type=ac_parser)
(psr, filepath) = (inp.parser, inp.path)

# TODO: 'ignore_missing' option should be deprecated and removed.
# .. note::
# This will be kept for backward compatibility until 'ignore_missing'
# option is deprecated and removed completely.
options["ac_ignore_missing"] = options.get("ac_ignore_missing",
options.get("ignore_missing",
False))
Expand Down

0 comments on commit a75697f

Please sign in to comment.