ca0a2651a3
When I ported offlineimap from Python 2 to Python 3 I removed the Debug for IMAP (imaplib2). The reason was offlineimap was setting the Debug directly in imaplib2, not using the proper way (using the IMAP4 argument). Because we are removing the virtual_imaplib2, I removed this option. I removed this line in offlineimap/init.py:303: ---8<--- 300 dtype = dtype.strip() 301 self.ui.add_debug(dtype) 302 if dtype.lower() == u'imap': -303 imaplib.Debug = 5 304 305 if options.runonce: 306 # Must kill the possible default option. ---8<--- With this patch, the debug level 5 is restored in imaplib if the user set the -d ALL or -d imap in offlineimap. |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
utils | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
emailutil.py | ||
error.py | ||
globals.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
threadutil.py |