diff frontends/src/wix/constants.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
line wrap: on
line diff
--- a/frontends/src/wix/constants.py	Mon May 05 20:12:19 2014 +0200
+++ b/frontends/src/wix/constants.py	Mon May 05 20:12:21 2014 +0200
@@ -18,14 +18,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from sat.core.i18n import _
-import sys
 import os.path
-import gettext
 import sat_frontends.wix
 from sat_frontends.quick_frontend import constants
 
 
-_ = gettext.gettext
 wix_root = os.path.dirname(sat_frontends.wix.__file__)
 
 
@@ -42,4 +39,4 @@
                 ("dnd", _("DND"), "red"),
                 ("xa", _("Away"), "red")
                 ]
-
+    LOG_OPT_SECTION = APP_NAME.lower()