zedshaw/lamson — pull request #1 by jpochyla (2011-10-12 12:42:55+00:00)
Title: Fix an error in case of 'type' ctype param

Using a 'type' Content-Type parameter results in:
EncodingError: Content-Type malformed, not allowed: 'multipart/related'; {'type': 'text/html'} (Python ERROR: __init__() got multiple values for keyword argument 'type'

This change is consistent with mail.MIMEBase.__init__ param names.