diff options
author | Chris Lumens <clumens@redhat.com> | 2006-01-18 19:33:57 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-01-18 19:33:57 +0000 |
commit | 36295825a6bbbc57c04019b21968387b36bc91c1 (patch) | |
tree | afd846ee80a4d6d12e65d4415ed38bcdd7b3426a /iw/timezone_gui.py | |
parent | 1d2bec5176ee7aaf2d117d9d5a078cc95740dc46 (diff) | |
download | anaconda-36295825a6bbbc57c04019b21968387b36bc91c1.tar.gz anaconda-36295825a6bbbc57c04019b21968387b36bc91c1.tar.xz anaconda-36295825a6bbbc57c04019b21968387b36bc91c1.zip |
Don't display Etc timezones.
Diffstat (limited to 'iw/timezone_gui.py')
-rw-r--r-- | iw/timezone_gui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py index 2b8ad43ce..eedef5c70 100644 --- a/iw/timezone_gui.py +++ b/iw/timezone_gui.py @@ -144,6 +144,9 @@ class AnacondaTZMap(TimezoneMap): root = self.canvas.root() for entry in self.zonetab.getEntries(): + if entry.lat is None or entry.long is None: + continue + x, y = self.map2canvas(entry.lat, entry.long) marker = root.add(gnomecanvas.CanvasText, x=x, y=y, text=u'\u00B7', fill_color='yellow', |