Fix PEP8 issues found by runtests.py

This commit is contained in:
Jakub Kadlcik 2023-08-06 14:53:09 +02:00 committed by Jakub Kadlčík
parent 2ad7a823dd
commit 9fd0c5a2c7
3 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@ def run_command_print(command, print_on_success=False):
def run_subprocess(p):
while(True):
while True:
retcode = p.poll()
line = p.stdout.readline()
if len(line) > 0:

View file

@ -258,7 +258,7 @@ class TarFixer(object):
# Delete the old checksum since it's now invalid and we don't want even
# an inadvertent reference to it.
del(chunk_props['checksum'])
del chunk_props['checksum']
# Remove the trailing NUL byte(s) on the end of members
for k, v in chunk_props.items():