aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Timezones.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-03-02 17:32:02 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-03-02 17:32:02 +0100
commite68a1617b7c1efbedf8b28309943dd7669daaad0 (patch)
tree2c45f065213b18f3a2c8a5e8666977f9bbff230d /lib/python/Components/Timezones.py
parent8d2545bc513280abe52d9c0fc2b704de3729a11e (diff)
parentfe12fe9e0ab3a4f9751b67c0aa3751d5864784ba (diff)
downloadenigma2-e68a1617b7c1efbedf8b28309943dd7669daaad0.tar.gz
enigma2-e68a1617b7c1efbedf8b28309943dd7669daaad0.zip
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/Timezones.py')
-rw-r--r--lib/python/Components/Timezones.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/python/Components/Timezones.py b/lib/python/Components/Timezones.py
index f3e24ee6..7f709159 100644
--- a/lib/python/Components/Timezones.py
+++ b/lib/python/Components/Timezones.py
@@ -52,11 +52,8 @@ class Timezones:
e_tzset()
def getTimezoneList(self):
- list = []
- for x in self.timezones:
- list.append(str(x[0]))
- return list
-
+ return [ str(x[0]) for x in self.timezones ]
+
def getDefaultTimezone(self):
# TODO return something more useful - depending on country-settings?
t = "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Vienna"