HomePhorge

Make sure imaplib exception argument is a string before using split() (#5387)

Description

Make sure imaplib exception argument is a string before using split() (#5387)

Summary:
Looks like imaplib in some conditions can throw exceptions without the message or
the message is not a string. We'll cast to string before using split() to prevent from
"AttributeError: 'int' object has no attribute 'split'" errors.

Reviewers: PyKolab Developers, vanmeeuwen

Reviewed By: PyKolab Developers, vanmeeuwen

Differential Revision: https://git.kolab.org/D135

Details

Provenance
machniakAuthored on May 4 2016, 3:55 PM
vanmeeuwenCommitted on May 10 2016, 10:22 AM
vanmeeuwenPushed on May 10 2016, 10:22 AM
Reviewer
PyKolab Developers
Differential Revision
D135: Make sure imaplib exception argument is a string before using split() (#5387)
Parents
rP450c15f7628b: Set version to 0.7.25
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3627
Build 3602: Continuous Integration for Software Development Projects