179 """ |
179 """ |
180 from __future__ import print_function |
180 from __future__ import print_function |
181 |
181 |
182 __docformat__ = "restructuredtext en" |
182 __docformat__ = "restructuredtext en" |
183 |
183 |
184 import sys |
|
185 import os |
|
186 import stat |
|
187 import logging |
184 import logging |
188 import logging.config |
185 import logging.config |
189 from smtplib import SMTP |
186 import os |
190 from threading import Lock |
|
191 from os.path import (exists, join, expanduser, abspath, normpath, |
187 from os.path import (exists, join, expanduser, abspath, normpath, |
192 basename, isdir, dirname, splitext) |
188 basename, isdir, dirname, splitext) |
|
189 from smtplib import SMTP |
|
190 import stat |
|
191 import sys |
|
192 from threading import Lock |
193 from warnings import warn, filterwarnings |
193 from warnings import warn, filterwarnings |
194 |
194 |
195 from six import text_type |
195 from six import text_type |
196 |
196 |
197 from logilab.common.decorators import cached, classproperty |
197 from logilab.common.decorators import cached, classproperty |