Patchwork imagetest-qemu: Fix indentation

login
register
mail settings
Submitter Richard Purdie
Date May 9, 2013, 4:42 p.m.
Message ID <1368117745.27116.105.camel@ted>
Download mbox | patch
Permalink /patch/49663/
State Accepted
Commit 23ba10c61ff26bffb1a84972eb4e0bfb03561f89
Headers show

Comments

Richard Purdie - May 9, 2013, 4:42 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass
index c30d1cb..94bed3b 100644
--- a/meta/classes/imagetest-qemu.bbclass
+++ b/meta/classes/imagetest-qemu.bbclass
@@ -137,15 +137,15 @@  def qemuimagetest_main(d):
 
                     f = open(scenlist, "r")
                     for line in f:
-                       if item != line.split()[0]:
-                           continue
-                       else:
-                           casefile = line.split()[1]
+                        if item != line.split()[0]:
+                            continue
+                        else:
+                            casefile = line.split()[1]
 
-                       fulltestcase = os.path.join(dir, item, casefile)
-                       if not os.path.isfile(fulltestcase):
+                        fulltestcase = os.path.join(dir, item, casefile)
+                        if not os.path.isfile(fulltestcase):
                             raise bb.build.FuncFailed("Testcase %s not found" % fulltestcase)
-                       list.append((item, casefile, fulltestcase))
+                        list.append((item, casefile, fulltestcase))
                     f.close()
         final_list = check_list(list)
         return final_list