summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-01 19:14:48 +0000
committerMatt Wilson <msw@redhat.com>2000-05-01 19:14:48 +0000
commit0df3ffd51c3d29d549d7a1186cd7c6a65fab2172 (patch)
tree40dcc8a535dc00a7611b4237367ec184b834312e /text.py
parent728eb92b114b0ed7f25d861524457f107648fe68 (diff)
downloadanaconda-0df3ffd51c3d29d549d7a1186cd7c6a65fab2172.tar.gz
anaconda-0df3ffd51c3d29d549d7a1186cd7c6a65fab2172.tar.xz
anaconda-0df3ffd51c3d29d549d7a1186cd7c6a65fab2172.zip
added log.py, log class in there for logging
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/text.py b/text.py
index dc80b758b..2e4af30ef 100644
--- a/text.py
+++ b/text.py
@@ -10,6 +10,7 @@ import gettext_rh
import glob
import signal
from translate import _, cat
+from log import log
# dont do this anymore, makes update disk hard
#from textw.constants import *
@@ -106,7 +107,7 @@ class LanguageWindow:
try:
isys.loadFont(font)
except SystemError, (errno, msg):
- todo.log("Could not load font %s: %s" % (font, msg))
+ log("Could not load font %s: %s" % (font, msg))
return INSTALL_OK
class MouseDeviceWindow:
@@ -219,7 +220,7 @@ class KeyboardWindow:
try:
isys.loadKeymap(keyboards[choice])
except SystemError, (errno, msg):
- todo.log("Could not install keymap %s: %s" % (keyboards[choice], msg))
+ log("Could not install keymap %s: %s" % (keyboards[choice], msg))
return INSTALL_OK
class InstallPathWindow: