From: ghost Date: Fri, 20 Nov 2009 12:06:50 +0000 (+0100) Subject: lib/python/Components/About.py: dont show version information for Experimental images... X-Git-Tag: 3.0.0~28^2~66^2~178 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/78c9520c9cc8030a7a14a895fb1775d5965d7a7e?ds=sidebyside lib/python/Components/About.py: dont show version information for Experimental images.. only show date here.. --- 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