def restore_disks(job, restore=False, disk_list=None):
 if (restore and (disk_list is not None)):
  prepare_disks(job, 'ext2 / -q -i20480 -m1 / / restore_ext2', disk1_only=False, disk_list=disk_list)

def restore_disks ( job , restore = False , disk_list = None ) : if ( restore and ( disk_list is not None ) ) : prepare_disks ( job , 'ext2 / -q -i20480 -m1 / / restore_ext2' , disk1_only = False , disk_list = disk_list )
restore ext2 on the drives in disk_list if restore is true; when disk_list is none .