Skip to content

[19.03 backport] config: don't call homedir on init() - #2508

Merged
silvin-lubecki merged 1 commit into
docker:19.03from
thaJeztah:19.03_backport_config_dont_init
May 11, 2020
Merged

[19.03 backport] config: don't call homedir on init()#2508
silvin-lubecki merged 1 commit into
docker:19.03from
thaJeztah:19.03_backport_config_dont_init

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

This patch changes the package to lazily obtain the user's home-directory on first use, instead of when initializing the package.

backport of #2161

This patch changes the package to lazily obtain the user's home-
directory on first use, instead of when initializing the package.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8a30653)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

@silvin-lubeckisilvin-lubecki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@silvin-lubecki
silvin-lubecki merged commit 1705e47 into docker:19.03May 11, 2020
@thaJeztah
thaJeztah deleted the 19.03_backport_config_dont_init branch May 11, 2020 14:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@thaJeztah@silvin-lubecki