]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rename variable to avoid collision
authorAlfredo Deza <alfredo.deza@inktank.com>
Wed, 9 Apr 2014 20:36:18 +0000 (16:36 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Wed, 9 Apr 2014 20:36:18 +0000 (16:36 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
teuthology/lock.py

index be7ca51fce3a75039046dc02ad6b2bf956ffa678..092918d1a46d6776b064692f3fcbcfa109213091 100644 (file)
@@ -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: