]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix indentation
authorZack Cerza <zack@cerza.org>
Tue, 10 Dec 2013 22:25:28 +0000 (16:25 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 10 Dec 2013 22:25:28 +0000 (16:25 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/kill.py

index ba101db2eab0b804a821d37c089381b6ccf14a01..9bff4371f72751542af84319dd3ccab44d2c3864 100755 (executable)
@@ -51,10 +51,10 @@ def find_suite_info(suite_archive_dir):
         for key in job_info.keys():
             if key in suite_info_fields and key not in suite_info:
                 suite_info[key] = job_info[key]
-            if 'pid' in job_info:
-                pids = suite_info.get('pids', [])
-                pids.append(job_info['pid'])
-                suite_info['pids'] = pids
+        if 'pid' in job_info:
+            pids = suite_info.get('pids', [])
+            pids.append(job_info['pid'])
+            suite_info['pids'] = pids
     return suite_info