[PATCH 4/5] log GeoIP based guessed language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/iw/language_gui.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/language_gui.py b/pyanaconda/iw/language_gui.py
index 245c5fa..e02a81f 100644
--- a/pyanaconda/iw/language_gui.py
+++ b/pyanaconda/iw/language_gui.py
@@ -28,6 +28,9 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
 
 from pyanaconda.gui import setupTreeViewFixupIdleHandler, StayOnScreen
 
+import logging
+log = logging.getLogger("anaconda")
+
 class LanguageWindow (InstallWindow):
 
     windowTitle = N_("Language Selection")
@@ -76,6 +79,8 @@ class LanguageWindow (InstallWindow):
         try:
             guess = self.instLang.getGeoIPinfo()
             current = self.instLang.getCountryLang(guess)
+            log.debug("Language guess according to GeoIP info: {0}".format(
+                            current))
         except ValueError:
             pass
         wait_window.pop()
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux