build: fix python warnings "SyntaxWarning: invalid escape sequence '\w'" (#44658)

* fix: SyntaxWarning: invalid escape sequence '\w'

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* chore: remove some unused imports

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* fix: E711 warning 'Comparison to should be '

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-11-14 09:04:22 -05:00 committed by GitHub
parent 5b3a1a7195
commit eb712a65af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View file

@ -5,7 +5,7 @@ import glob
import os
import sys
from lib.config import PLATFORM, get_target_arch
from lib.config import PLATFORM
from lib.util import scoped_cwd, get_electron_version, make_zip, \
get_electron_branding, get_out_dir, execute