QP has been deprecated for years. Remove it entirely.
authorW. Trevor King <wking@tremily.us>
Thu, 4 Oct 2012 12:40:57 +0000 (08:40 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 4 Oct 2012 16:05:52 +0000 (12:05 -0400)
rss2email.py

index a18aec66fc67616c45961c49b910600d60945804..e5488ab36e94185f577b838547d8a4da8efc9137 100755 (executable)
@@ -251,10 +251,6 @@ def send(sender, recipient, subject, body, contenttype, extraheaders=None, smtps
     msg['From'] = fromhdr
 
     msg_as_string = msg.as_string()
-#DEPRECATED     if QP_REQUIRED:
-#DEPRECATED         ins, outs = SIO(msg_as_string), SIO()
-#DEPRECATED         mimify.mimify(ins, outs)
-#DEPRECATED         msg_as_string = outs.getvalue()
 
     if SMTP_SEND:
         if not smtpserver:
@@ -328,9 +324,6 @@ except:
 
 warn = sys.stderr
 
-if QP_REQUIRED:
-    print >>warn, "QP_REQUIRED has been deprecated in rss2email."
-
 socket_errors = []
 for e in ['error', 'gaierror']:
     if hasattr(socket, e): socket_errors.append(getattr(socket, e))