Skip to content

Commit

Permalink
Fix small codestyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VectorMutt committed Sep 29, 2022
1 parent f44ed19 commit e232d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobuild/autobuild_tool_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def package(config, build_directory, platform_name, archive_filename=None, archi
else:
archive_description = platform_description.archive
format = _determine_archive_format(archive_format, archive_description)
if format == 'txz' or format == 'tbz2' or format == 'tgz' or format == 'tzst':
if format in ('txz', 'tbz2', 'tgz', 'tzst'):
_create_tarfile(tarfilename, format, build_directory, files, results)
elif format == 'zip':
_create_zip_archive(tarfilename + '.zip', build_directory, files, results)
Expand Down

0 comments on commit e232d9a

Please sign in to comment.