diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-12-07 11:50:25 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-12-07 11:50:25 -0300 |
commit | 3d765985528771d47ea1453ee33ebb20ce106d09 (patch) | |
tree | 2716bb6238e1691576561813b888dc796a287891 /src/leap/mail/imap/tests/imapclient.py | |
parent | dc45a6098b798a2866c2ab6af097307913cf542b (diff) | |
parent | 541bd8aec1f67834c42bc2e5df14c1f73c569082 (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/pep8-fixes' into develop
Diffstat (limited to 'src/leap/mail/imap/tests/imapclient.py')
-rwxr-xr-x | src/leap/mail/imap/tests/imapclient.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/mail/imap/tests/imapclient.py b/src/leap/mail/imap/tests/imapclient.py index 027396c..c353cee 100755 --- a/src/leap/mail/imap/tests/imapclient.py +++ b/src/leap/mail/imap/tests/imapclient.py @@ -21,7 +21,7 @@ from twisted.python import log class TrivialPrompter(basic.LineReceiver): - #from os import linesep as delimiter + # from os import linesep as delimiter promptDeferred = None @@ -42,6 +42,7 @@ class TrivialPrompter(basic.LineReceiver): class SimpleIMAP4Client(imap4.IMAP4Client): + """ Add callbacks when the client receives greeting messages from an IMAP server. @@ -98,8 +99,8 @@ def cbServerGreeting(proto, username, password): # Try to authenticate securely return proto.authenticate( password).addCallback( - cbAuthentication, proto).addErrback( - ebAuthentication, proto, username, password) + cbAuthentication, proto).addErrback( + ebAuthentication, proto, username, password) def ebConnection(reason): |