Skip to content

Commit

Permalink
Use an underscore suffix instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jpochyla committed Dec 6, 2011
1 parent 498bcdf commit 4fd2364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lamson/encoding.py
Expand Up @@ -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):
Expand Down

0 comments on commit 4fd2364

Please sign in to comment.