Mercurial > libervia-backend
comparison frontends/src/wix/profile.py @ 1011:5a6354ff468c
wix: use of new logging system
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 05 May 2014 20:12:21 +0200 |
parents | 1fe00f0c9a91 |
children | 75025461141f |
comparison
equal
deleted
inserted
replaced
1010:73a0b7f94674 | 1011:5a6354ff468c |
---|---|
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 import wx | 21 import wx |
22 import pdb | 22 import pdb |
23 from logging import debug, info, error | 23 from sat.core.log import getLogger |
24 log = getLogger(__name__) | |
24 from sat.tools.jid import JID | 25 from sat.tools.jid import JID |
25 | 26 |
26 | 27 |
27 class Profile(wx.Frame): | 28 class Profile(wx.Frame): |
28 """This class is used to show/modify profile given by SàT""" | 29 """This class is used to show/modify profile given by SàT""" |
83 self.notebook.AddPage(generaltab, _("General")) | 84 self.notebook.AddPage(generaltab, _("General")) |
84 | 85 |
85 | 86 |
86 def onClose(self, event): | 87 def onClose(self, event): |
87 """Close event""" | 88 """Close event""" |
88 debug(_("close")) | 89 log.debug(_("close")) |
89 self.MakeModal(False) | 90 self.MakeModal(False) |
90 event.Skip() | 91 event.Skip() |
91 | 92 |