From 6fd3f6f37947613f415c931e16d1f9ebe2f07f6c Mon Sep 17 00:00:00 2001 From: Frazer Clews Date: Mon, 4 May 2020 14:26:39 +0100 Subject: bitbake: lib/toaster: fixup codebase so pydocstyle can parse fixed literal comparison in lsupdates so the integer isn't treated as a singleton, also fix indentation in perf (Bitbake rev: 58c8752cd430a7a89bbf1ed5f21b515b17b514b0) Signed-off-by: Frazer Clews Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/management/commands/lsupdates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/orm/management/commands/lsupdates.py') diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py index a4dbcaa76e..2fbd7be3d2 100644 --- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py +++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py @@ -68,7 +68,7 @@ class Command(BaseCommand): (what, pec)) sys.stdout.flush() - if int(pec) is 100: + if int(pec) == 100: sys.stdout.write("\n") sys.stdout.flush() -- cgit v1.2.3-54-g00ecf