From: Zack Cerza Date: Fri, 7 Feb 2014 17:37:15 +0000 (-0600) Subject: Work around a bug in ConfigParser X-Git-Tag: 1.1.0~1646^2~35 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a55c22aaf65ada98dcf832693c8a35d17da482cf;p=teuthology.git Work around a bug in ConfigParser Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/devstack.py b/teuthology/task/devstack.py index d68092f84..df4ef2149 100644 --- a/teuthology/task/devstack.py +++ b/teuthology/task/devstack.py @@ -163,7 +163,7 @@ def update_devstack_config_files(devstack_node, secret_uuid): def update_config(config_name, config_stream, update_dict): parser = ConfigParser() - parser.read_file(config_stream, filename=config_name) + parser.read_file(config_stream) parser.update(update_dict) out_stream = StringIO() out_stream.seek(0)