1 from Tools.Directories import *
7 def getVersionString(self):
9 file = open(resolveFilename(SCOPE_SYSETC, 'image-version'), 'r')
10 lines = file.readlines()
12 splitted = x.split('=')
13 if splitted[0] == "version":
15 #0120 2005 11 29 01 16
16 #0123 4567 89 01 23 45
22 return '-'.join(["2.0", year, month, day])