diff options
author | Frazer Clews <frazer.clews@codethink.co.uk> | 2020-05-04 14:26:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-05 13:22:29 +0100 |
commit | 6fd3f6f37947613f415c931e16d1f9ebe2f07f6c (patch) | |
tree | 2d7c4c1b51aae084d0c21f7dc07d5b4fcf83bf3d /bitbake/lib/toaster/orm/management/commands/lsupdates.py | |
parent | 1c914ba04b549dbbee63752bcf1fc3af1a03794e (diff) | |
download | poky-6fd3f6f37947613f415c931e16d1f9ebe2f07f6c.tar.gz |
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 <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/management/commands/lsupdates.py')
-rw-r--r-- | bitbake/lib/toaster/orm/management/commands/lsupdates.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
68 | (what, | 68 | (what, |
69 | pec)) | 69 | pec)) |
70 | sys.stdout.flush() | 70 | sys.stdout.flush() |
71 | if int(pec) is 100: | 71 | if int(pec) == 100: |
72 | sys.stdout.write("\n") | 72 | sys.stdout.write("\n") |
73 | sys.stdout.flush() | 73 | sys.stdout.flush() |
74 | 74 | ||