Browse files

Use an underscore suffix instead

  • Loading branch information...
1 parent 498bcdf commit 4fd23647eeebcd87cf1955167dd9edc2e9d201f9 @jpochyla jpochyla committed Dec 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lamson/encoding.py
View
4 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):

0 comments on commit 4fd2364

Please sign in to comment.