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

Removed duplicate code #7106

Merged
merged 1 commit into from Apr 22, 2023
Merged

Removed duplicate code #7106

merged 1 commit into from Apr 22, 2023

Conversation

radarhere
Copy link
Member

Pillow/src/PIL/ImageCms.py

Lines 188 to 193 in a405e84

if profile:
self.product_name = None # profile.product_name
self.product_info = None # profile.product_info
else:
self.product_name = None
self.product_info = None

The two branches of this condition were made the same in ce041fd1995fe95de868.

@hugovk hugovk merged commit 8df8b43 into python-pillow:main Apr 22, 2023
57 of 58 checks passed
@radarhere radarhere deleted the imagecms branch April 22, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants