Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse UKIs produced by ukify #47

Closed
wants to merge 2 commits into from
Closed

Parse UKIs produced by ukify #47

wants to merge 2 commits into from

Conversation

SoapGentoo
Copy link
Contributor

Fixes #46

Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. A test, please.
  2. QA issues.

Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM at a first glance. I'll fix that quoting, test and merge.

f.seek(initial_offset + offset)
# the ' (ukify)' suffix is a hack to avoid raising
# an exception in read_internal_version()
ver = f.read(size) + b' (ukify)'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ver = f.read(size) + b' (ukify)'
ver = f.read(size) + b" (ukify)"

Please use "" in new code to match PEP 8.

@mgorny mgorny closed this Dec 5, 2023
@SoapGentoo SoapGentoo deleted the clean-ukify-UKIs branch December 5, 2023 17:19
@Nowa-Ammerlaan Nowa-Ammerlaan mentioned this pull request Oct 8, 2024
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.

SystemError with UKIs, cannot remove old kernels
2 participants