From 4fd23647eeebcd87cf1955167dd9edc2e9d201f9 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 6 Dec 2011 14:00:04 +0100 Subject: [PATCH] Use an underscore suffix instead --- lamson/encoding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lamson/encoding.py b/lamson/encoding.py index 3018cbb..ca2424a 100644 --- a/lamson/encoding.py +++ b/lamson/encoding.py @@ -175,8 +175,8 @@ class MIMEPart(MIMEBase): thing you'd encode, there's just this one, and it figures out how to encode what you ask it. """ - def __init__(self, _type, **params): - self.maintype, self.subtype = _type.split('/') + def __init__(self, type_, **params): + self.maintype, self.subtype = type_.split('/') MIMEBase.__init__(self, self.maintype, self.subtype, **params) def add_text(self, content):