diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-20 13:06:50 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-20 13:06:50 +0100 |
| commit | 78c9520c9cc8030a7a14a895fb1775d5965d7a7e (patch) | |
| tree | 645c0d0ecf8dc080ba85e33d71428f9e1078eebe /lib/python/Components | |
| parent | e90006f23e9a87b65a3fbb8b5abf5f6b4432817c (diff) | |
| download | enigma2-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/Components')
| -rw-r--r-- | lib/python/Components/About.py | 7 |
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 |
