From 2e7cf5939536c2eb51fb90da35822cf7318a786f Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 11 Aug 2014 14:18:50 -0600 Subject: [PATCH] Don't redefine 'remote' Signed-off-by: Zack Cerza --- teuthology/task/internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index 9fb1b38801..aa29a3b65f 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -239,7 +239,7 @@ def serialize_remote_roles(ctx, config): with file(os.path.join(ctx.archive, 'info.yaml'), 'r+') as info_file: info_yaml = yaml.safe_load(info_file) info_file.seek(0) - info_yaml['cluster'] = dict([(remote.name, {'roles': roles}) for remote, roles in ctx.cluster.remotes.iteritems()]) + info_yaml['cluster'] = dict([(rem.name, {'roles': roles}) for rem, roles in ctx.cluster.remotes.iteritems()]) yaml.safe_dump(info_yaml, info_file, default_flow_style=False) -- 2.39.5