@Max: Can we not change getarch() function to be more flexible rather than being so strict in its assumption of the media-info file format. i.e. Assuming that two arch strings wont be present in the infofile at the same time, rather than looking at a specific location for arch can we not do something like,
if 'i386' in open(self.infofile).read() arch = 'i386' etc.?
Thank you all for the comments.
@Max: Can we not change getarch() function to be more flexible rather than being so strict in its assumption of the media-info file format. i.e. Assuming that two arch strings wont be present in the infofile at the same time, rather than looking at a specific location for arch can we not do something like, infofile) .read()
arch = 'i386'
etc. ?
if 'i386' in open(self.