# Iterate through new partitions and check for 'origminor' and 'format' == False

362

forpartinnewparts:

363

tmppart_new=newparts[part]

364

ifnottmppart_new['origminor']ortmppart_new['format']:continue

365

ifnottmppart_new['origminor']inoldparts:

366

raiseGLIException("MissingPartitionsError",'fatal','partition',"Cannot find the existing partition that a new one refers to. This is not a bug. This is in fact your (the user's) fault. You should not reuse the installprofile.xml from a previous install that started the partitioning step.")

367

tmppart_old=oldparts[tmppart_new['origminor']]

368

iftmppart_new['resized']:

369

# Partition is being resized in the new layout

370

self._logger.log(" Partition "+str(part)+" has origminor "+str(tmppart_new['origminor'])+" and it being resized...saving start sector "+str(tmppart_old['start']))