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

@ -155,7 +155,7 @@ class SubmoduleAwareBuilder(Builder):
for archive in self._submodule_archives(
relative_git_dir, submodule_prefix, submodule_commit,
submodule_tar_file, submodule_dir
):
):
yield archive
def create_tgz(self, git_root, prefix, commit, relative_dir, dest_tgz):

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():