fix typo in usage of six's import of MIMEText

Fixes: https://pagure.io/koji/issue/1338
This commit is contained in:
Tomas Kopecek 2019-03-12 15:16:29 +01:00 committed by Mike McLean
parent abda6b9f85
commit e612310fcc

View file

@ -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: