mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
support/testing: fix remaining code style
Fix the remaining code style warnings from flake8: - properly indent continuation lines; - use proper code to test a parameter is not None. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
918a02ce22
commit
022d8df1b5
@ -26,7 +26,7 @@ class InitSystemBase(infra.basetest.BRTest):
|
|||||||
"ro",
|
"ro",
|
||||||
"console=ttyAMA0"]
|
"console=ttyAMA0"]
|
||||||
|
|
||||||
if not init is None:
|
if init is not None:
|
||||||
kernel_cmdline.extend(["init={}".format(init)])
|
kernel_cmdline.extend(["init={}".format(init)])
|
||||||
|
|
||||||
self.emulator.boot(arch="armv7",
|
self.emulator.boot(arch="armv7",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user