aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-11-20 13:06:50 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-11-20 13:06:50 +0100
commit78c9520c9cc8030a7a14a895fb1775d5965d7a7e (patch)
tree645c0d0ecf8dc080ba85e33d71428f9e1078eebe /lib/python
parente90006f23e9a87b65a3fbb8b5abf5f6b4432817c (diff)
downloadenigma2-78c9520c9cc8030a7a14a895fb1775d5965d7a7e.tar.gz
enigma2-78c9520c9cc8030a7a14a895fb1775d5965d7a7e.zip
lib/python/Components/About.py: dont show version information for Experimental images.. only show date here..
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/About.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Components/About.py b/lib/python/Components/About.py
index 58d67dc9..8e332e33 100644
--- a/lib/python/Components/About.py
+++ b/lib/python/Components/About.py
@@ -26,13 +26,14 @@ class About:
year = version[4:8]
month = version[8:10]
day = version[10:12]
+ date = '-'.join((year, month, day))
if image_type == '0':
image_type = "Release"
+ version = '.'.join((major, minor, revision))
+ return ' '.join((image_type, version, date))
else:
image_type = "Experimental"
- date = '-'.join((year, month, day))
- version = '.'.join((major, minor, revision))
- return ' '.join((image_type, version, date))
+ return ' '.join((image_type, date))
file.close()
except IOError:
pass