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

Use setdefault for sys-language and sys-encoding #1657

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Use setdefault for sys-language and sys-encoding #1657

merged 1 commit into from
Feb 28, 2023

Conversation

lavafroth
Copy link
Contributor

@lavafroth lavafroth commented Feb 28, 2023

  • This does not fix an issue

PR Description:

For sys-encoding and sys-language, the setdefault function of the arguments dictionary is used instead of manually checking if key-value pair exists. Minimal changes.

Tests and Checks

  • I have tested the code!

@Torxed Torxed merged commit 2559e0d into archlinux:master Feb 28, 2023
@Torxed
Copy link
Member

Torxed commented Feb 28, 2023

Thank you for this quick tweak!

Torxed added a commit that referenced this pull request Feb 28, 2023
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.

None yet

2 participants