From: Alfredo Deza Date: Wed, 9 Apr 2014 20:36:18 +0000 (-0400) Subject: rename variable to avoid collision X-Git-Tag: v0.94.10~27^2^2~364^2~257^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=30f3b01a0ddbd966789a14cbe6574641b5a7c1c4;p=ceph.git rename variable to avoid collision Signed-off-by: Alfredo Deza --- diff --git a/teuthology/lock.py b/teuthology/lock.py index be7ca51fce3..092918d1a46 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -201,8 +201,8 @@ def main(ctx): statuses = list_locks() if statuses: if ctx.machine_type: - statuses = [status for status in statuses - if status['type'] == ctx.machine_type] + statuses = [_status for _status in statuses + if _status['type'] == ctx.machine_type] if not machines and ctx.owner is None and not ctx.all: ctx.owner = misc.get_user() if ctx.owner is not None: