From 831781954eea8d3bfa286ddc2888025e2d6732d7 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 6 Mar 2014 13:19:41 -0800 Subject: [PATCH] Fix nesting for required files Only need to look for neutron or nova network if running tempest Change-Id: I3ade31e5e2b1fe777a2bcd3c3a6c403dea1de8f8 --- elastic_recheck/elasticRecheck.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index d8055f3e..f7144482 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -39,16 +39,16 @@ def required_files(job): 'logs/screen-c-api.txt', 'logs/screen-c-vol.txt', 'logs/syslog.txt']) - # we could probably add more neutron files - # but currently only q-svc is used in queries - if re.match("neutron", job): - files.extend([ - 'logs/screen-q-svc.txt', - ]) - else: - files.extend([ - 'logs/screen-n-net.txt', - ]) + # we could probably add more neutron files + # but currently only q-svc is used in queries + if re.match("neutron", job): + files.extend([ + 'logs/screen-q-svc.txt', + ]) + else: + files.extend([ + 'logs/screen-n-net.txt', + ]) return files