[PATCH 2/2] log GeoIP country and guessed timezone

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

 



---
 pyanaconda/timezone.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/timezone.py b/pyanaconda/timezone.py
index 6d40717..354e502 100644
--- a/pyanaconda/timezone.py
+++ b/pyanaconda/timezone.py
@@ -101,8 +101,10 @@ class Timezone:
 
         zonetab_ = zonetab.ZoneTab()
         country = m.group(1)
+        log.debug("GeoIP country: %s" % country)
 
         geoip_timezone = zonetab_.findEntryByCountryCode(country)
+        log.debug("GeoIP based timezone: %s" % geoip_timezone.tz)
         if geoip_timezone:
             return geoip_timezone.tz
 
-- 
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