1 from Tools.Directories import *
7 def getVersionString(self):
8 file = open(resolveFilename(SCOPE_SYSETC, 'image-version'), 'r')
9 lines = file.readlines()
11 splitted = x.split('=')
12 if splitted[0] == "version":
13 return "2.0-" + str(splitted[1])