Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
👹 Feed the hobgoblins (delint).
  • Loading branch information
jaraco committed Dec 18, 2022
commit d38a22665fc24ad8f8f18ffe3037f95ff4617f93
4 changes: 2 additions & 2 deletions twine/commands/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def __str__(self) -> str:
# from Python 3.11 docs
def parse_content_type(value):
msg = email.message.EmailMessage()
msg['content-type'] = value
return msg.get_content_type(), msg['content-type'].params
msg["content-type"] = value
return msg.get_content_type(), msg["content-type"].params


def _check_file(
Expand Down