]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Work around a bug in ConfigParser
authorZack Cerza <zack@cerza.org>
Fri, 7 Feb 2014 17:37:15 +0000 (11:37 -0600)
committerZack Cerza <zack@cerza.org>
Thu, 20 Feb 2014 23:46:06 +0000 (17:46 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/task/devstack.py

index d68092f8479cce610d4fee9e9857ec9043c3342f..df4ef2149442d59b43e3e3a0b191361391698ecf 100644 (file)
@@ -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)