Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make setup.py source distribution work #34

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dss09
Copy link

@dss09 dss09 commented Mar 6, 2014

No description provided.

Dmitry and others added 8 commits March 6, 2014 14:44
Fix "object of type 'NoneType' has no len()" in mail.fetch()
/..../gmail/message.pyc in parse(self, raw_message)
    180                         make_attachement(attachment.get_payload())
    181 
--> 182         make_attachement(self.message.get_payload())
    183 
    184 

/.../gmail/message.pyc in make_attachement(attachments)
    172         def make_attachement(attachments):
    173             for attachment in attachments:
--> 174                 if attachment.get_content_type() == 'message/rfc822':
    175                     make_attachement(attachment.get_payload())
    176                 else:

AttributeError: 'str' object has no attribute 'get_content_type'
fixing    AttributeError: 'str' object has no attribute 'get_content_…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants