From 65d769bae25b788a6b579f3cca6fdc3bdb2c3e0f Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 12 2019 14:16:29 +0000 Subject: fix typo in usage of six's import of MIMEText Fixes: https://pagure.io/koji/issue/1338 --- diff --git a/util/koji-gc b/util/koji-gc index 0616702..60cce22 100755 --- a/util/koji-gc +++ b/util/koji-gc @@ -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: