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:07:07 +0100 |
| commit | 86cf948ef24d915924d1903cac165f08bbb9caf7 (patch) | |
| tree | 1a3bde09f434941a7b4d8e26da670533db1566b5 /lib/python/Components/About.py | |
| parent | af92de73a0f40ca4a5d3026672b12345b71682cc (diff) | |
| download | enigma2-86cf948ef24d915924d1903cac165f08bbb9caf7.tar.gz enigma2-86cf948ef24d915924d1903cac165f08bbb9caf7.zip | |
lib/python/Components/About.py: dont show version information for Experimental images.. only show date here..
Diffstat (limited to 'lib/python/Components/About.py')
| -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 |
