5c8460ba2e
pv list, there is no point in checking whether or not the pv list is empty, wait instead until the loop completes.