From 88cddb1d4a198e44a88c4697f17d77f29efc07a6 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 26 Oct 2015 15:22:36 +0000 Subject: [PATCH] specify config file delimiter so it doesn't barf on windows paths --- gitup/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitup/config.py b/gitup/config.py index 053c9ff..930056e 100644 --- a/gitup/config.py +++ b/gitup/config.py @@ -39,7 +39,7 @@ def _migrate_old_config_path(): def _load_config_file(config_path=None): """Read the config file and return a SafeConfigParser() object.""" _migrate_old_config_path() - config = configparser.SafeConfigParser() + config = configparser.SafeConfigParser(delimiters='=') # Don't lowercase option names, because we are storing paths there: config.optionxform = lambda opt: opt config.read(config_path or get_default_config_path())