core: use of the new core.log module:

/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
This commit is contained in:
Goffi 2014-04-19 19:19:19 +02:00
commit 501bc92528

View file

@ -18,7 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.i18n import _
from logging import debug, info, error, warning
from sat.core.log import getLogger
log = getLogger(__name__)
from wokkel import compat
from twisted.words.xish import domish
@ -40,7 +41,7 @@ class XEP_0049(object):
NS_PRIVATE = 'jabber:iq:private'
def __init__(self, host):
info(_("Plugin XEP-0049 initialization"))
log.info(_("Plugin XEP-0049 initialization"))
self.host = host
def privateXMLStore(self, element, profile_key):