[3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>.
(cherry picked from commit 8f943ca257)

Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
This commit is contained in:
Łukasz Langa 2021-09-22 17:32:04 +02:00 committed by GitHub
parent 09390c837a
commit 5482db5800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 43 additions and 44 deletions

View file

@ -673,7 +673,7 @@ def manifest_get_embed_info(self, target_desc, ld_args):
# If a manifest should be embedded, return a tuple of
# (manifest_filename, resource_id). Returns None if no manifest
# should be embedded. See http://bugs.python.org/issue7833 for why
# we want to avoid any manifest for extension modules if we can)
# we want to avoid any manifest for extension modules if we can.
for arg in ld_args:
if arg.startswith("/MANIFESTFILE:"):
temp_manifest = arg.split(":", 1)[1]