Skip to content

Commit

Permalink
Update changelog. Ref #404.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 30, 2019
1 parent 50ae117 commit c777ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
to enable the alternate scopes or "enterprise" to use the
default scope.

* #404: Improve import times when a backend is specifically
configured by lazily calling ``get_all_keyring``.

19.2.0
------

Expand Down
2 changes: 1 addition & 1 deletion keyring/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def init_backend(limit=None):
set_keyring(
load_env()
or load_config()
# get all keyrings passing the limit filter
or max(
# all keyrings passing the limit filter
filter(limit, backend.get_all_keyring()),
default=fail.Keyring(),
key=backend.by_priority,
Expand Down

0 comments on commit c777ff5

Please sign in to comment.