summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2015-04-22 12:22:31 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-15 18:12:46 +0100
commitaf3518a605e105214edf62077991a9025a88760c (patch)
tree7e21a3c183e2ba10c6b2b4de395be744aaa116a6 /meta/lib
parentf4b1bcbc38d5c02f62472476953ea8e874101a45 (diff)
downloadpoky-af3518a605e105214edf62077991a9025a88760c.tar.gz
oeqa/selftest/toaster: fix bad indent
oe-selftest --list-classes crashes because of a bad indent (see below). Fixed. systemd-build$ oe-selftest --list-classes 2015-04-22 12:12:39,141 - selftest - INFO - Listing all available test modules: _sstatetests_noauto (hidden) -- SStateBase -- RebuildFromSState -- -- test_sstate_rebuild -- -- test_sstate_relocation _toaster (hidden) Traceback (most recent call last): File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 201, in <module> ret = main() File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 157, in main modlib = importlib.import_module(test) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/mnt/Yo/yoctoproject/poky/meta/lib/oeqa/selftest/_toaster.py", line 438 time.sleep(3) ^ IndentationError: unexpected indent (From OE-Core master rev: 46869abf72c1c5babce49537f221d7a4f53ca820) (From OE-Core rev: f01d4df7568fed5fe2feb0b1e8abb2214b567c07) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/_toaster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/_toaster.py b/meta/lib/oeqa/selftest/_toaster.py
index 2ed08d24e6..51ebda3e80 100644
--- a/meta/lib/oeqa/selftest/_toaster.py
+++ b/meta/lib/oeqa/selftest/_toaster.py
@@ -435,7 +435,7 @@ class Toaster_DB_Tests(ToasterSetup):
435 if k <= 5: 435 if k <= 5:
436 files = zonefilelist[k] 436 files = zonefilelist[k]
437 os.system("export TZ="+str(files)+"; python manage.py runserver > /dev/null 2>&1 &") 437 os.system("export TZ="+str(files)+"; python manage.py runserver > /dev/null 2>&1 &")
438 time.sleep(3) 438 time.sleep(3)
439 pid = subprocess.check_output("ps aux | grep '[/u]sr/bin/python manage.py runserver' | awk '{print $2}'", shell = True) 439 pid = subprocess.check_output("ps aux | grep '[/u]sr/bin/python manage.py runserver' | awk '{print $2}'", shell = True)
440 if pid: 440 if pid:
441 os.system("kill -9 "+str(pid)) 441 os.system("kill -9 "+str(pid))