Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logged config location #675

Merged
merged 6 commits into from Aug 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_utils.py
Expand Up @@ -295,7 +295,7 @@ def test_check_status_code_for_missing_status_code(
captured = capsys.readouterr()

if verbose:
assert captured.out == "Content received from server:\nForbidden\n"
assert "Content received from server:\nForbidden\n" in captured.out
else:
assert captured.out == "NOTE: Try --verbose to see response content.\n"
bhrutledge marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
2 changes: 2 additions & 0 deletions twine/utils.py
Expand Up @@ -64,6 +64,8 @@ def get_config(path: str = "~/.pypirc") -> Dict[str, RepositoryConfig]:
# Expand user strings in the path
path = os.path.expanduser(path)

logger.info(f"Config Location: {path}")
bhrutledge marked this conversation as resolved.
Show resolved Hide resolved

# Parse the rc file
if os.path.isfile(path):
parser.read(path)
Expand Down