diff options
author | Joffrey F <f.joffrey@gmail.com> | 2015-06-18 12:29:08 -0700 |
---|---|---|
committer | Joffrey F <f.joffrey@gmail.com> | 2015-06-18 12:29:08 -0700 |
commit | 54e48662a50127c667e4455e530c38613a609221 (patch) | |
tree | b5ebc2266c841fd5d8ba5d0345bbf802ac13aac6 | |
parent | 414d90122f2cf4727f404be3447ff8d13d84a3db (diff) | |
parent | 9881628ff77edfe541293ea37d11e20c7d1e1916 (diff) | |
download | docker-py-54e48662a50127c667e4455e530c38613a609221.tar.gz |
Merge pull request #609 from mattmoor/master
Update docker-py to use a more portable sense of HOME.
-rw-r--r-- | docker/auth/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auth/auth.py b/docker/auth/auth.py index 373df56..a890fce 100644 --- a/docker/auth/auth.py +++ b/docker/auth/auth.py @@ -115,7 +115,7 @@ def load_config(config_path=None): conf = {} data = None - config_file = config_path or os.path.join(os.environ.get('HOME', '.'), + config_file = config_path or os.path.join(os.path.expanduser('~'), DOCKER_CONFIG_FILENAME) # if config path doesn't exist return empty config |