1
0
Fork 0
mirror of synced 2024-09-29 08:41:15 +13:00

Update logging_util.py to fix generator subscripting error

This commit is contained in:
Nick Sweeting 2023-08-31 15:12:43 -07:00 committed by GitHub
parent a837f870af
commit 86366d5640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -441,7 +441,7 @@ def log_archive_method_finished(result: "ArchiveResult"):
hints = ( hints = (
' {}{}{}'.format(ANSI['lightyellow'], line.strip(), ANSI['reset']) ' {}{}{}'.format(ANSI['lightyellow'], line.strip(), ANSI['reset'])
for line in hints[:5] if line.strip() for line in list(hints)[:5] if line.strip()
) )