Skip to content

Fix incorrect variable reference in parse_info() - #1

Open
LetMeFly666 wants to merge 1 commit into
Xicrosoft:masterfrom
LetMeFly666:fix/lets_filename
Open

Fix incorrect variable reference in parse_info()#1
LetMeFly666 wants to merge 1 commit into
Xicrosoft:masterfrom
LetMeFly666:fix/lets_filename

Conversation

@LetMeFly666

@LetMeFly666 LetMeFly666 commented Jun 22, 2026

Copy link
Copy Markdown

The function parse_info() accepts a filename argument but uses the
external variable f when invoking plutil.

This makes the function depend on a variable from outer scope and can
raise NameError if called independently.

Use the function parameter filename instead.

Signed-off-by: LetMeFly666 <Tisfy@qq.com>
@LetMeFly666 LetMeFly666 changed the title fix: fix variable reference in parse_info Fix incorrect variable reference in parse_info() Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant