From 65a54254be6322917891107d905b85f4edd63c70 Mon Sep 17 00:00:00 2001 From: Janina Szkut Date: Mon, 4 Jul 2016 13:48:22 -0400 Subject: [PATCH] Use RawConfigParser to read .pypirc in case one of the values e.g. password contains a % that should not be interpolated --- twine/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twine/utils.py b/twine/utils.py index 8b694739..dd648076 100644 --- a/twine/utils.py +++ b/twine/utils.py @@ -52,7 +52,7 @@ def get_config(path="~/.pypirc"): } # Parse the rc file - parser = configparser.ConfigParser() + parser = configparser.RawConfigParser() parser.read(path) # Get a list of repositories from the config file