Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_contact_list.py @ 1009:d1084f7e56a5
quick_frontend: use of new logging system
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 05 May 2014 18:58:34 +0200 |
parents | 6f1e03068b5f |
children | 0a9986452bba |
comparison
equal
deleted
inserted
replaced
1008:d70d4fe5c5f8 | 1009:d1084f7e56a5 |
---|---|
16 | 16 |
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 from sat.core.i18n import _ | 20 from sat.core.i18n import _ |
21 from logging import debug | 21 from sat.core.log import getLogger |
22 log = getLogger(__name__) | |
22 | 23 |
23 | 24 |
24 class QuickContactList(object): | 25 class QuickContactList(object): |
25 """This class manage the visual representation of contacts""" | 26 """This class manage the visual representation of contacts""" |
26 | 27 |
27 def __init__(self): | 28 def __init__(self): |
28 debug(_("Contact List init")) | 29 log.debug(_("Contact List init")) |
29 self._cache = {} | 30 self._cache = {} |
30 self.specials={} | 31 self.specials={} |
31 | 32 |
32 def update_jid(self, jid): | 33 def update_jid(self, jid): |
33 """Update the jid in the list when something changed""" | 34 """Update the jid in the list when something changed""" |