def OSVersion(flavor):
 urlbase = path.basename(isoURLs.get(flavor, 'unknown'))
 return path.splitext(urlbase)[0]

def OSVersion ( flavor ) : urlbase = path . basename ( isoURLs . get ( flavor , 'unknown' ) ) return path . splitext ( urlbase ) [ 0 ]
return full os version string for build flavor .