浏览代码

Merge pull request #20 from m-s-/develop

specify config file delimiter so it doesn't barf on windows paths
tags/v0.4
Ben Kurtovic 8 年前
父节点
当前提交
42675a82ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      gitup/config.py

+ 1
- 1
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())


正在加载...
取消
保存