diff --git a/stdeb/util.py b/stdeb/util.py index 3604201..26b656e 100644 --- a/stdeb/util.py +++ b/stdeb/util.py @@ -801,7 +801,7 @@ def __init__(self, cfg = ConfigParser.ConfigParser(cfg_defaults) for cfg_file in cfg_files: with codecs.open(cfg_file, mode='r', encoding='utf-8') as fd: - cfg.readfp(fd) + cfg.read_file(fd) if sdist_dsc_command is not None: # Allow distutils commands to override config files (this lets