Skip to content

Commit

Permalink
⚫ Fade to black.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco authored and lovetox committed May 24, 2023
1 parent c01a794 commit 4582e76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keyring/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ def parse(item: typing.Tuple[str, str]):
pre, sep, name = key.partition('KEYRING_PROPERTY_')
return sep and (name.lower(), value)

props: filter[typing.Tuple[str, str]] = filter(None, map(parse, os.environ.items()))
props: filter[typing.Tuple[str, str]] = filter(
None, map(parse, os.environ.items())
)
for name, value in props:
setattr(self, name, value)

Expand Down

0 comments on commit 4582e76

Please sign in to comment.