==== //sandbox/gboyce/sieve/python-managesieve-0.3/managesieve.py#9 - /Users/gboyce/perforce/sandbox/sieve/python-managesieve-0.3/managesieve.py ====
old
|
new
|
|
13 | 13 | |
14 | 14 | __all__ = [ 'MANAGESIEVE', 'SIEVE_PORT', 'OK', 'NO', 'BYE', 'Debug'] |
15 | 15 | |
16 | | from imaplib import _log, _mesg |
| 16 | # XXX darky -- these are now in an IMAP4 class, and I don't think we |
| 17 | # should be using them. |
| 18 | #from imaplib import _log, _mesg |
| 19 | |
| 20 | import logging |
| 21 | log = logging.getLogger("managesieve") |
| 22 | def _log(message): |
| 23 | log.debug(message) |
| 24 | _mesg = _log |
17 | 25 | |
18 | 26 | Debug = 0 |
19 | 27 | CRLF = '\r\n' |