Skip to content

Use safe dict access for yanked fields - #1323

Open
jobselko wants to merge 1 commit into
pulp:mainfrom
jobselko:yank_access
Open

Use safe dict access for yanked fields#1323
jobselko wants to merge 1 commit into
pulp:mainfrom
jobselko:yank_access

Conversation

@jobselko

@jobselko jobselko commented Aug 6, 2026

Copy link
Copy Markdown
Member

Follow-up to #1282

This is needed to avoid a KeyError at runtime for pulp-service, whose patch 0060 passes release dicts to write_simple_detail_json without yanked and yanked_reason keys.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@jobselko jobselko self-assigned this Aug 6, 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.

2 participants