git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e90006f
)
lib/python/Components/About.py: dont show version information for Experimental images...
author
ghost
<andreas.monzner@multimedia-labs.de>
Fri, 20 Nov 2009 12:06:50 +0000
(13:06 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Fri, 20 Nov 2009 12:06:50 +0000
(13:06 +0100)
lib/python/Components/About.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/About.py
b/lib/python/Components/About.py
index 58d67dc9cd8a59c0b918aaec29075650faee05ff..8e332e3381c85b8b5d565fc33caa92230e404e45 100644
(file)
--- 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