fix typo in usage of six's import of MIMEText
Fixes: https://pagure.io/koji/issue/1338
This commit is contained in:
parent
abda6b9f85
commit
e612310fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ Build: %%(name)s-%%(version)s-%%(release)s
|
|||
If you would like to protect any of these builds from deletion, please
|
||||
refer to the document linked above for instructions."""
|
||||
|
||||
msg = MIMEText('\n\n'.join([head, middle, tail]))
|
||||
msg = MIMEText.MIMEText('\n\n'.join([head, middle, tail]))
|
||||
if len(builds) == 1:
|
||||
msg['Subject'] = "1 build marked for deletion"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue