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

@ -20,7 +20,8 @@
from sat.core.i18n import _
from sat.core.constants import Const as C
from sat.core import exceptions
from logging import info
from sat.core.log import getLogger
log = getLogger(__name__)
from wokkel import disco, iwokkel
from zope.interface import implements
from twisted.words.protocols.jabber.jid import JID
@ -91,7 +92,7 @@ class XEP_0085(object):
}
def __init__(self, host):
info(_("Chat State Notifications plugin initialization"))
log.info(_("Chat State Notifications plugin initialization"))
self.host = host
# parameter value is retrieved before each use